| 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/proxy_channel.h" | 17 #include "ppapi/proxy/proxy_channel.h" |
| 18 #include "ppapi/proxy/interface_list.h" | 18 #include "ppapi/proxy/interface_list.h" |
| 19 #include "ppapi/proxy/interface_proxy.h" | 19 #include "ppapi/proxy/interface_proxy.h" |
| 20 #include "ppapi/proxy/plugin_var_tracker.h" | 20 #include "ppapi/proxy/plugin_var_tracker.h" |
| 21 #include "ppapi/shared_impl/api_id.h" | 21 #include "ppapi/shared_impl/api_id.h" |
| 22 | 22 |
| 23 namespace ppapi { | 23 namespace ppapi { |
| 24 | 24 |
| 25 class WebKitForwarding; | |
| 26 | |
| 27 namespace proxy { | 25 namespace proxy { |
| 28 | 26 |
| 29 class VarSerializationRules; | 27 class VarSerializationRules; |
| 30 | 28 |
| 31 // An interface proxy can represent either end of a cross-process interface | 29 // An interface proxy can represent either end of a cross-process interface |
| 32 // call. The "source" side is where the call is invoked, and the "target" side | 30 // call. The "source" side is where the call is invoked, and the "target" side |
| 33 // is where the call ends up being executed. | 31 // is where the call ends up being executed. |
| 34 // | 32 // |
| 35 // Plugin side | Browser side | 33 // Plugin side | Browser side |
| 36 // -------------------------------------|-------------------------------------- | 34 // -------------------------------------|-------------------------------------- |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 111 |
| 114 scoped_ptr<VarSerializationRules> serialization_rules_; | 112 scoped_ptr<VarSerializationRules> serialization_rules_; |
| 115 | 113 |
| 116 DISALLOW_COPY_AND_ASSIGN(Dispatcher); | 114 DISALLOW_COPY_AND_ASSIGN(Dispatcher); |
| 117 }; | 115 }; |
| 118 | 116 |
| 119 } // namespace proxy | 117 } // namespace proxy |
| 120 } // namespace ppapi | 118 } // namespace ppapi |
| 121 | 119 |
| 122 #endif // PPAPI_PROXY_DISPATCHER_H_ | 120 #endif // PPAPI_PROXY_DISPATCHER_H_ |
| OLD | NEW |