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

Unified Diff: ppapi/host/dispatch_host_message.h

Issue 600213002: Instrumenting OnExtensionAddListener observer invocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: brettw@ comment Created 6 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 | « ipc/ipc_message_macros.h ('k') | ppapi/proxy/dispatch_reply_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/dispatch_host_message.h
diff --git a/ppapi/host/dispatch_host_message.h b/ppapi/host/dispatch_host_message.h
index 24987259ebc46220648fb2209017d3b6f168bc9f..218b8f7b8776f7bb0624f61a63066e1655bc8fe8 100644
--- a/ppapi/host/dispatch_host_message.h
+++ b/ppapi/host/dispatch_host_message.h
@@ -10,7 +10,7 @@
#ifndef PPAPI_HOST_DISPATCH_HOST_MESSAGE_H_
#define PPAPI_HOST_DISPATCH_HOST_MESSAGE_H_
-#include "base/profiler/scoped_profile.h" // For TRACK_RUN_IN_IPC_HANDLER.
+#include "base/profiler/scoped_profile.h"
#include "ipc/ipc_message_macros.h"
#include "ppapi/c/pp_errors.h"
@@ -66,7 +66,7 @@ inline int32_t DispatchResourceCall(ObjT* obj, Method method,
// no params in the message).
#define PPAPI_DISPATCH_HOST_RESOURCE_CALL(msg_class, member_func) \
case msg_class::ID: { \
- TRACK_RUN_IN_IPC_HANDLER(member_func); \
+ TRACK_RUN_IN_THIS_SCOPED_REGION(member_func); \
msg_class::Schema::Param p; \
if (msg_class::Read(&ipc_message__, &p)) { \
return ppapi::host::DispatchResourceCall( \
@@ -79,7 +79,7 @@ inline int32_t DispatchResourceCall(ObjT* obj, Method method,
#define PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(msg_class, member_func) \
case msg_class::ID: { \
- TRACK_RUN_IN_IPC_HANDLER(member_func); \
+ TRACK_RUN_IN_THIS_SCOPED_REGION(member_func); \
return member_func(context); \
}
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ppapi/proxy/dispatch_reply_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698