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

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

Issue 8322013: Fix IPC logging on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 | « content/renderer/plugin_channel_host.h ('k') | ipc/ipc_message_macros.h » ('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 "content/renderer/plugin_channel_host.h" 5 #include "content/renderer/plugin_channel_host.h"
6 6
7 #include "content/common/child_process.h" 7 #include "content/common/child_process.h"
8 #include "content/common/npobject_base.h" 8 #include "content/common/npobject_base.h"
9 #include "content/common/plugin_messages.h" 9 #include "content/common/plugin_messages.h"
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 IPC_MESSAGE_UNHANDLED(handled = false) 127 IPC_MESSAGE_UNHANDLED(handled = false)
128 IPC_END_MESSAGE_MAP() 128 IPC_END_MESSAGE_MAP()
129 DCHECK(handled); 129 DCHECK(handled);
130 return handled; 130 return handled;
131 } 131 }
132 132
133 void PluginChannelHost::OnSetException(const std::string& message) { 133 void PluginChannelHost::OnSetException(const std::string& message) {
134 WebKit::WebBindings::setException(NULL, message.c_str()); 134 WebKit::WebBindings::setException(NULL, message.c_str());
135 } 135 }
136 136
137 void PluginChannelHost::OnPluginShuttingDown(const IPC::Message& message) { 137 void PluginChannelHost::OnPluginShuttingDown() {
138 expecting_shutdown_ = true; 138 expecting_shutdown_ = true;
139 } 139 }
140 140
141 void PluginChannelHost::OnChannelError() { 141 void PluginChannelHost::OnChannelError() {
142 NPChannelBase::OnChannelError(); 142 NPChannelBase::OnChannelError();
143 143
144 for (ProxyMap::iterator iter = proxies_.begin(); 144 for (ProxyMap::iterator iter = proxies_.begin();
145 iter != proxies_.end(); iter++) { 145 iter != proxies_.end(); iter++) {
146 iter->second->OnChannelError(); 146 iter->second->OnChannelError();
147 } 147 }
148 148
149 proxies_.clear(); 149 proxies_.clear();
150 } 150 }
OLDNEW
« no previous file with comments | « content/renderer/plugin_channel_host.h ('k') | ipc/ipc_message_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698