Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Unified Diff: ppapi/native_client/src/trusted/plugin/module_ppapi.cc

Issue 7740059: Add a timestamp to the log messages of NaCl's plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for fix. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/utility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/module_ppapi.cc
diff --git a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
index a537bc8caa24a54639e5e03adee6be728acf1d53..8aeecf0477c747f1b8c4ede9f42782c79c192d56 100644
--- a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
+++ b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
+ * Copyright (c) 2011 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -20,7 +20,7 @@ namespace plugin {
class ModulePpapi : public pp::Module {
public:
ModulePpapi() : pp::Module(), init_was_successful_(false) {
- PLUGIN_PRINTF(("ModulePpapi::ModulePpapi (this=%p)\n",
+ MODULE_PRINTF(("ModulePpapi::ModulePpapi (this=%p)\n",
static_cast<void*>(this)));
}
@@ -28,7 +28,7 @@ class ModulePpapi : public pp::Module {
if (init_was_successful_) {
NaClNrdAllModulesFini();
}
- PLUGIN_PRINTF(("ModulePpapi::~ModulePpapi (this=%p)\n",
+ MODULE_PRINTF(("ModulePpapi::~ModulePpapi (this=%p)\n",
static_cast<void*>(this)));
}
@@ -38,7 +38,7 @@ class ModulePpapi : public pp::Module {
GetBrowserInterface(PPB_NACL_PRIVATE_INTERFACE));
if (NULL == ptr) {
- PLUGIN_PRINTF(("ModulePpapi::Init failed: "
+ MODULE_PRINTF(("ModulePpapi::Init failed: "
"GetBrowserInterface returned NULL\n"));
return false;
}
@@ -59,10 +59,10 @@ class ModulePpapi : public pp::Module {
}
virtual pp::Instance* CreateInstance(PP_Instance pp_instance) {
- PLUGIN_PRINTF(("ModulePpapi::CreateInstance (pp_instance=%"NACL_PRId32")\n",
+ MODULE_PRINTF(("ModulePpapi::CreateInstance (pp_instance=%"NACL_PRId32")\n",
pp_instance));
Plugin* plugin = Plugin::New(pp_instance);
- PLUGIN_PRINTF(("ModulePpapi::CreateInstance (return %p)\n",
+ MODULE_PRINTF(("ModulePpapi::CreateInstance (return %p)\n",
static_cast<void* >(plugin)));
return plugin;
}
@@ -77,7 +77,7 @@ class ModulePpapi : public pp::Module {
namespace pp {
Module* CreateModule() {
- PLUGIN_PRINTF(("CreateModule ()\n"));
+ MODULE_PRINTF(("CreateModule ()\n"));
return new plugin::ModulePpapi();
}
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/utility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698