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

Side by Side Diff: ppapi/proxy/dispatch_reply_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, 2 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 unified diff | Download patch
« no previous file with comments | « ppapi/host/dispatch_host_message.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file provides infrastructure for dispatching messasges from host 5 // This file provides infrastructure for dispatching messasges from host
6 // resource, inlcuding reply messages or unsolicited replies. Normal IPC Reply 6 // resource, inlcuding reply messages or unsolicited replies. Normal IPC Reply
7 // handlers can't take extra parameters. We want to take a 7 // handlers can't take extra parameters. We want to take a
8 // ResourceMessageReplyParams as a parameter. 8 // ResourceMessageReplyParams as a parameter.
9 9
10 #ifndef PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_ 10 #ifndef PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_
11 #define PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_ 11 #define PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/profiler/scoped_profile.h" // For TRACK_RUN_IN_IPC_HANDLER.
15 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
16 #include "ppapi/c/pp_errors.h" 15 #include "ppapi/c/pp_errors.h"
17 16
18 namespace ppapi { 17 namespace ppapi {
19 namespace proxy { 18 namespace proxy {
20 19
21 class ResourceMessageReplyParams; 20 class ResourceMessageReplyParams;
22 21
23 template <class ObjT, class Method> 22 template <class ObjT, class Method>
24 inline void DispatchResourceReply(ObjT* obj, Method method, 23 inline void DispatchResourceReply(ObjT* obj, Method method,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 break; 168 break;
170 169
171 #define PPAPI_END_MESSAGE_MAP() \ 170 #define PPAPI_END_MESSAGE_MAP() \
172 } \ 171 } \
173 } 172 }
174 173
175 } // namespace proxy 174 } // namespace proxy
176 } // namespace ppapi 175 } // namespace ppapi
177 176
178 #endif // PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_ 177 #endif // PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_
OLDNEW
« no previous file with comments | « ppapi/host/dispatch_host_message.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698