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

Side by Side Diff: chrome/renderer/plugin_channel_host.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/renderer/mock_render_thread.cc ('k') | chrome/renderer/render_process.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/renderer/plugin_channel_host.h" 5 #include "chrome/renderer/plugin_channel_host.h"
6 6
7 #include "chrome/common/plugin_messages.h" 7 #include "chrome/common/plugin_messages.h"
8 8
9 #if defined(OS_POSIX) 9 #if defined(OS_POSIX)
10 #include "chrome/common/ipc_channel_posix.h" 10 #include "ipc/ipc_channel_posix.h"
11 #endif 11 #endif
12 12
13 // A simple MessageFilter that will ignore all messages and respond to sync 13 // A simple MessageFilter that will ignore all messages and respond to sync
14 // messages with an error when is_listening_ is false. 14 // messages with an error when is_listening_ is false.
15 class IsListeningFilter : public IPC::ChannelProxy::MessageFilter { 15 class IsListeningFilter : public IPC::ChannelProxy::MessageFilter {
16 public: 16 public:
17 IsListeningFilter() {} 17 IsListeningFilter() {}
18 18
19 // MessageFilter overrides 19 // MessageFilter overrides
20 virtual void OnFilterRemoved() {} 20 virtual void OnFilterRemoved() {}
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 void PluginChannelHost::OnChannelError() { 117 void PluginChannelHost::OnChannelError() {
118 PluginChannelBase::OnChannelError(); 118 PluginChannelBase::OnChannelError();
119 119
120 for (ProxyMap::iterator iter = proxies_.begin(); 120 for (ProxyMap::iterator iter = proxies_.begin();
121 iter != proxies_.end(); iter++) { 121 iter != proxies_.end(); iter++) {
122 iter->second->OnChannelError(); 122 iter->second->OnChannelError();
123 } 123 }
124 124
125 proxies_.clear(); 125 proxies_.clear();
126 } 126 }
OLDNEW
« no previous file with comments | « chrome/renderer/mock_render_thread.cc ('k') | chrome/renderer/render_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698