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 #include "ppapi/proxy/dispatcher.h" | 5 #include "ppapi/proxy/dispatcher.h" |
6 | 6 |
7 #include <string.h> // For memset. | 7 #include <string.h> // For memset. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #include "ppapi/proxy/ppb_video_decoder_proxy.h" | 84 #include "ppapi/proxy/ppb_video_decoder_proxy.h" |
85 #include "ppapi/proxy/ppp_class_proxy.h" | 85 #include "ppapi/proxy/ppp_class_proxy.h" |
86 #include "ppapi/proxy/ppp_graphics_3d_proxy.h" | 86 #include "ppapi/proxy/ppp_graphics_3d_proxy.h" |
87 #include "ppapi/proxy/ppp_input_event_proxy.h" | 87 #include "ppapi/proxy/ppp_input_event_proxy.h" |
88 #include "ppapi/proxy/ppp_instance_private_proxy.h" | 88 #include "ppapi/proxy/ppp_instance_private_proxy.h" |
89 #include "ppapi/proxy/ppp_instance_proxy.h" | 89 #include "ppapi/proxy/ppp_instance_proxy.h" |
90 #include "ppapi/proxy/ppp_messaging_proxy.h" | 90 #include "ppapi/proxy/ppp_messaging_proxy.h" |
91 #include "ppapi/proxy/ppp_video_decoder_proxy.h" | 91 #include "ppapi/proxy/ppp_video_decoder_proxy.h" |
92 #include "ppapi/proxy/var_serialization_rules.h" | 92 #include "ppapi/proxy/var_serialization_rules.h" |
93 | 93 |
94 namespace pp { | 94 namespace ppapi { |
95 namespace proxy { | 95 namespace proxy { |
96 | 96 |
97 namespace { | 97 namespace { |
98 | 98 |
99 struct InterfaceList { | 99 struct InterfaceList { |
100 InterfaceList(); | 100 InterfaceList(); |
101 | 101 |
102 static InterfaceList* GetInstance(); | 102 static InterfaceList* GetInstance(); |
103 | 103 |
104 void AddPPP(const InterfaceProxy::Info* info); | 104 void AddPPP(const InterfaceProxy::Info* info); |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 base::MessageLoopProxy* Dispatcher::GetIPCMessageLoop() { | 276 base::MessageLoopProxy* Dispatcher::GetIPCMessageLoop() { |
277 return delegate()->GetIPCMessageLoop(); | 277 return delegate()->GetIPCMessageLoop(); |
278 } | 278 } |
279 | 279 |
280 void Dispatcher::AddIOThreadMessageFilter( | 280 void Dispatcher::AddIOThreadMessageFilter( |
281 IPC::ChannelProxy::MessageFilter* filter) { | 281 IPC::ChannelProxy::MessageFilter* filter) { |
282 channel()->AddFilter(filter); | 282 channel()->AddFilter(filter); |
283 } | 283 } |
284 | 284 |
285 } // namespace proxy | 285 } // namespace proxy |
286 } // namespace pp | 286 } // namespace ppapi |
OLD | NEW |