| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |