diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-30 18:08:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-30 18:08:22 +0000 |
commit | ba9b9c3bd88817a47df1bbba16d58e7b504aef46 (patch) | |
tree | 08fd5b352f7bbccf1c7e9a11bd0d6bd5f02317b9 | |
parent | 18470fe5cad25ab73acb45a01e6b77e8fa11c5bc (diff) | |
download | pdfium-ba9b9c3bd88817a47df1bbba16d58e7b504aef46.tar.xz |
Rename console to cjs_console
This CL renames the console.{cpp|h} files to cjs_console.{cpp|h}.
Change-Id: Icc4f70e9653cd7e11bab305e47c03af07f4e56b0
Reviewed-on: https://pdfium-review.googlesource.com/17042
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | BUILD.gn | 4 | ||||
-rw-r--r-- | fpdfsdk/javascript/cjs_console.cpp (renamed from fpdfsdk/javascript/console.cpp) | 2 | ||||
-rw-r--r-- | fpdfsdk/javascript/cjs_console.h (renamed from fpdfsdk/javascript/console.h) | 6 | ||||
-rw-r--r-- | fpdfsdk/javascript/cjs_runtime.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
@@ -1202,6 +1202,8 @@ static_library("javascript") { "fpdfsdk/javascript/cjs_border.h", "fpdfsdk/javascript/cjs_color.cpp", "fpdfsdk/javascript/cjs_color.h", + "fpdfsdk/javascript/cjs_console.cpp", + "fpdfsdk/javascript/cjs_console.h", "fpdfsdk/javascript/cjs_delaydata.cpp", "fpdfsdk/javascript/cjs_delaydata.h", "fpdfsdk/javascript/cjs_display.cpp", @@ -1250,8 +1252,6 @@ static_library("javascript") { "fpdfsdk/javascript/cjs_timerobj.h", "fpdfsdk/javascript/cjs_zoomtype.cpp", "fpdfsdk/javascript/cjs_zoomtype.h", - "fpdfsdk/javascript/console.cpp", - "fpdfsdk/javascript/console.h", "fpdfsdk/javascript/event.cpp", "fpdfsdk/javascript/event.h", "fpdfsdk/javascript/global_timer.cpp", diff --git a/fpdfsdk/javascript/console.cpp b/fpdfsdk/javascript/cjs_console.cpp index 67ca1655ff..58a691c866 100644 --- a/fpdfsdk/javascript/console.cpp +++ b/fpdfsdk/javascript/cjs_console.cpp @@ -4,7 +4,7 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "fpdfsdk/javascript/console.h" +#include "fpdfsdk/javascript/cjs_console.h" #include <vector> diff --git a/fpdfsdk/javascript/console.h b/fpdfsdk/javascript/cjs_console.h index d06c443a81..43ab8f63d8 100644 --- a/fpdfsdk/javascript/console.h +++ b/fpdfsdk/javascript/cjs_console.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef FPDFSDK_JAVASCRIPT_CONSOLE_H_ -#define FPDFSDK_JAVASCRIPT_CONSOLE_H_ +#ifndef FPDFSDK_JAVASCRIPT_CJS_CONSOLE_H_ +#define FPDFSDK_JAVASCRIPT_CJS_CONSOLE_H_ #include <vector> @@ -44,4 +44,4 @@ class CJS_Console : public CJS_Object { static const JSMethodSpec MethodSpecs[]; }; -#endif // FPDFSDK_JAVASCRIPT_CONSOLE_H_ +#endif // FPDFSDK_JAVASCRIPT_CJS_CONSOLE_H_ diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp index 0eb5233b0e..581d5c70a8 100644 --- a/fpdfsdk/javascript/cjs_runtime.cpp +++ b/fpdfsdk/javascript/cjs_runtime.cpp @@ -15,6 +15,7 @@ #include "fpdfsdk/javascript/cjs_app.h" #include "fpdfsdk/javascript/cjs_border.h" #include "fpdfsdk/javascript/cjs_color.h" +#include "fpdfsdk/javascript/cjs_console.h" #include "fpdfsdk/javascript/cjs_display.h" #include "fpdfsdk/javascript/cjs_document.h" #include "fpdfsdk/javascript/cjs_event_context.h" @@ -35,7 +36,6 @@ #include "fpdfsdk/javascript/cjs_style.h" #include "fpdfsdk/javascript/cjs_timerobj.h" #include "fpdfsdk/javascript/cjs_zoomtype.h" -#include "fpdfsdk/javascript/console.h" #include "fpdfsdk/javascript/event.h" #include "fpdfsdk/javascript/report.h" #include "fpdfsdk/javascript/util.h" |