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

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

Issue 170663002: Pepper: Remove PluginReverseInterface::Log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « ppapi/native_client/src/trusted/plugin/service_runtime.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/service_runtime.cc
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
index 6b314397c083fd70f1de8a801690deb0296c22cf..0cadd949050155377f77107f3cdfda622ba54f41 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -99,19 +99,6 @@ void PluginReverseInterface::ShutDown() {
NaClLog(4, "PluginReverseInterface::Shutdown: broadcasted, exiting\n");
}
-void PluginReverseInterface::Log(nacl::string message) {
- LogToJavaScriptConsoleResource* continuation =
- new LogToJavaScriptConsoleResource(message);
- CHECK(continuation != NULL);
- NaClLog(4, "PluginReverseInterface::Log(%s)\n", message.c_str());
- plugin::WeakRefCallOnMainThread(
- anchor_,
- 0, /* delay in ms */
- this,
- &plugin::PluginReverseInterface::Log_MainThreadContinuation,
- continuation);
-}
-
void PluginReverseInterface::DoPostMessage(nacl::string message) {
PostMessageResource* continuation = new PostMessageResource(message);
CHECK(continuation != NULL);
@@ -138,15 +125,6 @@ void PluginReverseInterface::StartupInitializationComplete() {
}
}
-void PluginReverseInterface::Log_MainThreadContinuation(
- LogToJavaScriptConsoleResource* p,
- int32_t err) {
- UNREFERENCED_PARAMETER(err);
- NaClLog(4,
- "PluginReverseInterface::Log_MainThreadContinuation(%s)\n",
- p->message.c_str());
- plugin_->AddToConsole(p->message);
-}
void PluginReverseInterface::PostMessage_MainThreadContinuation(
PostMessageResource* p,
int32_t err) {
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/service_runtime.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698