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

Unified Diff: ppapi/proxy/plugin_dispatcher.cc

Issue 6862002: Merge gpu_trace_event back into base/debug/trace_event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: shared dll build, phishing test shutdown crashes, tsan warnings; merge 84612 Created 9 years, 7 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
Index: ppapi/proxy/plugin_dispatcher.cc
diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc
index e3bf9cd095a125db9f3442053cb79141eb7f6c82..e9a189a4f0b2e2af666b89341d81c9281f536eae 100644
--- a/ppapi/proxy/plugin_dispatcher.cc
+++ b/ppapi/proxy/plugin_dispatcher.cc
@@ -10,7 +10,7 @@
#include "base/logging.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_sync_channel.h"
-#include "gpu/common/gpu_trace_event.h"
+#include "base/debug/trace_event.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/proxy/interface_proxy.h"
#include "ppapi/proxy/plugin_message_filter.h"
@@ -92,9 +92,9 @@ bool PluginDispatcher::IsPlugin() const {
}
bool PluginDispatcher::Send(IPC::Message* msg) {
- GPU_TRACE_EVENT2("ppapi proxy", "PluginDispatcher::Send",
- "Class", IPC_MESSAGE_ID_CLASS(msg->type()),
- "Line", IPC_MESSAGE_ID_LINE(msg->type()));
+ TRACE_EVENT2("ppapi proxy", "PluginDispatcher::Send",
+ "Class", IPC_MESSAGE_ID_CLASS(msg->type()),
+ "Line", IPC_MESSAGE_ID_LINE(msg->type()));
// We always want plugin->renderer messages to arrive in-order. If some sync
// and some async messages are send in response to a synchronous
// renderer->plugin call, the sync reply will be processed before the async
@@ -107,9 +107,9 @@ bool PluginDispatcher::Send(IPC::Message* msg) {
}
bool PluginDispatcher::OnMessageReceived(const IPC::Message& msg) {
- GPU_TRACE_EVENT2("ppapi proxy", "PluginDispatcher::OnMessageReceived",
- "Class", IPC_MESSAGE_ID_CLASS(msg.type()),
- "Line", IPC_MESSAGE_ID_LINE(msg.type()));
+ TRACE_EVENT2("ppapi proxy", "PluginDispatcher::OnMessageReceived",
+ "Class", IPC_MESSAGE_ID_CLASS(msg.type()),
+ "Line", IPC_MESSAGE_ID_LINE(msg.type()));
// Handle common control messages.
if (Dispatcher::OnMessageReceived(msg))
return true;
« gpu/gpu.gyp ('K') | « ppapi/proxy/host_dispatcher.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698