OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef PPAPI_PROXY_DISPATCHER_H_ | 5 #ifndef PPAPI_PROXY_DISPATCHER_H_ |
6 #define PPAPI_PROXY_DISPATCHER_H_ | 6 #define PPAPI_PROXY_DISPATCHER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/tracked_objects.h" | 13 #include "base/tracked_objects.h" |
14 #include "ipc/ipc_channel_proxy.h" | 14 #include "ipc/ipc_channel_proxy.h" |
15 #include "ppapi/c/pp_instance.h" | 15 #include "ppapi/c/pp_instance.h" |
16 #include "ppapi/c/pp_module.h" | 16 #include "ppapi/c/pp_module.h" |
17 #include "ppapi/proxy/callback_tracker.h" | 17 #include "ppapi/proxy/callback_tracker.h" |
18 #include "ppapi/proxy/proxy_channel.h" | 18 #include "ppapi/proxy/proxy_channel.h" |
19 #include "ppapi/proxy/interface_id.h" | 19 #include "ppapi/proxy/interface_id.h" |
20 #include "ppapi/proxy/interface_proxy.h" | 20 #include "ppapi/proxy/interface_proxy.h" |
21 #include "ppapi/proxy/plugin_var_tracker.h" | 21 #include "ppapi/proxy/plugin_var_tracker.h" |
22 | 22 |
23 namespace ppapi { | 23 namespace ppapi { |
| 24 |
24 class WebKitForwarding; | 25 class WebKitForwarding; |
25 } | |
26 | 26 |
27 namespace pp { | |
28 namespace proxy { | 27 namespace proxy { |
29 | 28 |
30 class VarSerializationRules; | 29 class VarSerializationRules; |
31 | 30 |
32 // An interface proxy can represent either end of a cross-process interface | 31 // An interface proxy can represent either end of a cross-process interface |
33 // call. The "source" side is where the call is invoked, and the "target" side | 32 // call. The "source" side is where the call is invoked, and the "target" side |
34 // is where the call ends up being executed. | 33 // is where the call ends up being executed. |
35 // | 34 // |
36 // Plugin side | Browser side | 35 // Plugin side | Browser side |
37 // -------------------------------------|-------------------------------------- | 36 // -------------------------------------|-------------------------------------- |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 GetInterfaceFunc local_get_interface_; | 111 GetInterfaceFunc local_get_interface_; |
113 | 112 |
114 CallbackTracker callback_tracker_; | 113 CallbackTracker callback_tracker_; |
115 | 114 |
116 scoped_ptr<VarSerializationRules> serialization_rules_; | 115 scoped_ptr<VarSerializationRules> serialization_rules_; |
117 | 116 |
118 DISALLOW_COPY_AND_ASSIGN(Dispatcher); | 117 DISALLOW_COPY_AND_ASSIGN(Dispatcher); |
119 }; | 118 }; |
120 | 119 |
121 } // namespace proxy | 120 } // namespace proxy |
122 } // namespace pp | 121 } // namespace ppapi |
123 | 122 |
124 #endif // PPAPI_PROXY_DISPATCHER_H_ | 123 #endif // PPAPI_PROXY_DISPATCHER_H_ |
OLD | NEW |