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

Side by Side Diff: chrome/renderer/plugin_channel_host.cc

Issue 6672048: Move plugin code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « chrome/renderer/plugin_channel_host.h ('k') | chrome/renderer/render_thread.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/plugin/npobject_base.h"
8 #include "content/common/plugin_messages.h" 7 #include "content/common/plugin_messages.h"
8 #include "content/plugin/npobject_base.h"
9 9
10 #if defined(OS_POSIX) 10 #if defined(OS_POSIX)
11 #include "ipc/ipc_channel_posix.h" 11 #include "ipc/ipc_channel_posix.h"
12 #endif 12 #endif
13 13
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
15 15
16 // A simple MessageFilter that will ignore all messages and respond to sync 16 // A simple MessageFilter that will ignore all messages and respond to sync
17 // messages with an error when is_listening_ is false. 17 // messages with an error when is_listening_ is false.
18 class IsListeningFilter : public IPC::ChannelProxy::MessageFilter { 18 class IsListeningFilter : public IPC::ChannelProxy::MessageFilter {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void PluginChannelHost::OnChannelError() { 136 void PluginChannelHost::OnChannelError() {
137 PluginChannelBase::OnChannelError(); 137 PluginChannelBase::OnChannelError();
138 138
139 for (ProxyMap::iterator iter = proxies_.begin(); 139 for (ProxyMap::iterator iter = proxies_.begin();
140 iter != proxies_.end(); iter++) { 140 iter != proxies_.end(); iter++) {
141 iter->second->OnChannelError(); 141 iter->second->OnChannelError();
142 } 142 }
143 143
144 proxies_.clear(); 144 proxies_.clear();
145 } 145 }
OLDNEW
« no previous file with comments | « chrome/renderer/plugin_channel_host.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698