| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 | 243 |
| 244 void Dispatcher::SetSerializationRules( | 244 void Dispatcher::SetSerializationRules( |
| 245 VarSerializationRules* var_serialization_rules) { | 245 VarSerializationRules* var_serialization_rules) { |
| 246 serialization_rules_.reset(var_serialization_rules); | 246 serialization_rules_.reset(var_serialization_rules); |
| 247 } | 247 } |
| 248 | 248 |
| 249 const void* Dispatcher::GetLocalInterface(const char* interface_name) { | 249 const void* Dispatcher::GetLocalInterface(const char* interface_name) { |
| 250 return local_get_interface_(interface_name); | 250 return local_get_interface_(interface_name); |
| 251 } | 251 } |
| 252 | 252 |
| 253 MessageLoop* Dispatcher::GetIPCMessageLoop() { | 253 base::MessageLoopProxy* Dispatcher::GetIPCMessageLoop() { |
| 254 return delegate()->GetIPCMessageLoop(); | 254 return delegate()->GetIPCMessageLoop(); |
| 255 } | 255 } |
| 256 | 256 |
| 257 void Dispatcher::AddIOThreadMessageFilter( | 257 void Dispatcher::AddIOThreadMessageFilter( |
| 258 IPC::ChannelProxy::MessageFilter* filter) { | 258 IPC::ChannelProxy::MessageFilter* filter) { |
| 259 channel()->AddFilter(filter); | 259 channel()->AddFilter(filter); |
| 260 } | 260 } |
| 261 | 261 |
| 262 } // namespace proxy | 262 } // namespace proxy |
| 263 } // namespace pp | 263 } // namespace pp |
| OLD | NEW |