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

Side by Side Diff: ppapi/proxy/dispatcher.cc

Issue 6901146: Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. This allows us to remov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/ppb_flash_file_proxy.cc » ('j') | 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) 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
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
OLDNEW
« no previous file with comments | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/ppb_flash_file_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698