summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-30 18:08:22 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-10-30 18:08:22 +0000
commitba9b9c3bd88817a47df1bbba16d58e7b504aef46 (patch)
tree08fd5b352f7bbccf1c7e9a11bd0d6bd5f02317b9 /fpdfsdk/javascript
parent18470fe5cad25ab73acb45a01e6b77e8fa11c5bc (diff)
downloadpdfium-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>
Diffstat (limited to 'fpdfsdk/javascript')
-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.cpp2
3 files changed, 5 insertions, 5 deletions
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"