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

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

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "content/child/child_process.h"
9 #include "content/child/npobject_base.h" 10 #include "content/child/npobject_base.h"
10 #include "content/child/plugin_messages.h" 11 #include "content/child/plugin_messages.h"
11 #include "content/common/child_process.h"
12 12
13 #if defined(OS_POSIX) 13 #if defined(OS_POSIX)
14 #include "ipc/ipc_channel_posix.h" 14 #include "ipc/ipc_channel_posix.h"
15 #endif 15 #endif
16 16
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
18 18
19 // TODO(shess): Debugging for http://crbug.com/97285 19 // TODO(shess): Debugging for http://crbug.com/97285
20 // 20 //
21 // The hypothesis at #55 requires that RemoveRoute() be called between 21 // The hypothesis at #55 requires that RemoveRoute() be called between
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 for (ProxyMap::iterator iter = proxies_.begin(); 226 for (ProxyMap::iterator iter = proxies_.begin();
227 iter != proxies_.end(); iter++) { 227 iter != proxies_.end(); iter++) {
228 iter->second->OnChannelError(); 228 iter->second->OnChannelError();
229 } 229 }
230 230
231 proxies_.clear(); 231 proxies_.clear();
232 } 232 }
233 233
234 } // namespace content 234 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc ('k') | content/renderer/render_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698