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

Side by Side Diff: chrome/plugin/plugin_channel_base.cc

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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
« no previous file with comments | « chrome/plugin/plugin_channel_base.h ('k') | chrome/plugin/plugin_main.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/plugin/plugin_channel_base.h" 5 #include "chrome/plugin/plugin_channel_base.h"
6 6
7 #include "base/hash_tables.h" 7 #include "base/hash_tables.h"
8 #include "chrome/common/child_process.h" 8 #include "chrome/common/child_process.h"
9 #include "chrome/common/ipc_sync_message.h" 9 #include "ipc/ipc_sync_message.h"
10 10
11 typedef base::hash_map<std::string, scoped_refptr<PluginChannelBase> > 11 typedef base::hash_map<std::string, scoped_refptr<PluginChannelBase> >
12 PluginChannelMap; 12 PluginChannelMap;
13 13
14 static PluginChannelMap g_plugin_channels_; 14 static PluginChannelMap g_plugin_channels_;
15 15
16 16
17 PluginChannelBase* PluginChannelBase::GetChannel( 17 PluginChannelBase* PluginChannelBase::GetChannel(
18 const std::string& channel_name, IPC::Channel::Mode mode, 18 const std::string& channel_name, IPC::Channel::Mode mode,
19 PluginChannelFactory factory, MessageLoop* ipc_message_loop, 19 PluginChannelFactory factory, MessageLoop* ipc_message_loop,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 "should override in subclass if you care about control messages"; 183 "should override in subclass if you care about control messages";
184 } 184 }
185 185
186 void PluginChannelBase::OnChannelError() { 186 void PluginChannelBase::OnChannelError() {
187 channel_valid_ = false; 187 channel_valid_ = false;
188 } 188 }
189 189
190 void PluginChannelBase::SendUnblockingOnlyDuringDispatch() { 190 void PluginChannelBase::SendUnblockingOnlyDuringDispatch() {
191 send_unblocking_only_during_dispatch_ = true; 191 send_unblocking_only_during_dispatch_ = true;
192 } 192 }
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_channel_base.h ('k') | chrome/plugin/plugin_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698