summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_console_thunk.cc
diff options
context:
space:
mode:
authorncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-13 01:34:32 +0000
committerncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-13 01:34:32 +0000
commit598816adfcd9f6d47f51b1209ec890d0bdacdee6 (patch)
tree594984d4a7e5201230fca35638505c5f65990f28 /ppapi/thunk/ppb_console_thunk.cc
parentb171d8d2c0cdca2cb56df93e03438d210dfe031c (diff)
downloadchromium_src-598816adfcd9f6d47f51b1209ec890d0bdacdee6.zip
chromium_src-598816adfcd9f6d47f51b1209ec890d0bdacdee6.tar.gz
chromium_src-598816adfcd9f6d47f51b1209ec890d0bdacdee6.tar.bz2
PPAPI: Move PPB_Console out of dev.
PPB_Console was not added to the SRPC proxy because this proxy is deprecated. BUG= none Review URL: https://chromiumcodereview.appspot.com/11416214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_console_thunk.cc')
-rw-r--r--ppapi/thunk/ppb_console_thunk.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/ppapi/thunk/ppb_console_thunk.cc b/ppapi/thunk/ppb_console_thunk.cc
index a542e37..9ece35d 100644
--- a/ppapi/thunk/ppb_console_thunk.cc
+++ b/ppapi/thunk/ppb_console_thunk.cc
@@ -4,8 +4,8 @@
// From dev/ppb_console_dev.idl modified Mon Nov 19 09:22:44 2012.
-#include "ppapi/c/dev/ppb_console_dev.h"
#include "ppapi/c/pp_errors.h"
+#include "ppapi/c/ppb_console.h"
#include "ppapi/shared_impl/tracked_callback.h"
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/ppb_instance_api.h"
@@ -17,14 +17,14 @@ namespace thunk {
namespace {
-void Log(PP_Instance instance, PP_LogLevel_Dev level, struct PP_Var value) {
+void Log(PP_Instance instance, PP_LogLevel level, struct PP_Var value) {
EnterInstance enter(instance);
if (enter.succeeded())
enter.functions()->Log(instance, level, value);
}
void LogWithSource(PP_Instance instance,
- PP_LogLevel_Dev level,
+ PP_LogLevel level,
struct PP_Var source,
struct PP_Var value) {
EnterInstance enter(instance);
@@ -32,15 +32,15 @@ void LogWithSource(PP_Instance instance,
enter.functions()->LogWithSource(instance, level, source, value);
}
-const PPB_Console_Dev_0_1 g_ppb_console_dev_thunk_0_1 = {
+const PPB_Console_1_0 g_ppb_console_thunk_1_0 = {
&Log,
&LogWithSource,
};
} // namespace
-const PPB_Console_Dev_0_1* GetPPB_Console_Dev_0_1_Thunk() {
- return &g_ppb_console_dev_thunk_0_1;
+const PPB_Console_1_0* GetPPB_Console_1_0_Thunk() {
+ return &g_ppb_console_thunk_1_0;
}
} // namespace thunk