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/npapi/plugin_channel_host.h" | 5 #include "content/renderer/npapi/plugin_channel_host.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
8 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "build/build_config.h" |
9 #include "content/child/child_process.h" | 12 #include "content/child/child_process.h" |
10 #include "content/child/npapi/npobject_base.h" | 13 #include "content/child/npapi/npobject_base.h" |
11 #include "content/child/plugin_messages.h" | 14 #include "content/child/plugin_messages.h" |
12 | 15 |
13 #if defined(OS_POSIX) | 16 #if defined(OS_POSIX) |
14 #include "ipc/ipc_channel_posix.h" | 17 #include "ipc/ipc_channel_posix.h" |
15 #endif | 18 #endif |
16 | 19 |
17 #include "third_party/WebKit/public/web/WebBindings.h" | 20 #include "third_party/WebKit/public/web/WebBindings.h" |
18 | 21 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 159 |
157 for (ProxyMap::iterator iter = proxies_.begin(); | 160 for (ProxyMap::iterator iter = proxies_.begin(); |
158 iter != proxies_.end(); iter++) { | 161 iter != proxies_.end(); iter++) { |
159 iter->second->OnChannelError(); | 162 iter->second->OnChannelError(); |
160 } | 163 } |
161 | 164 |
162 proxies_.clear(); | 165 proxies_.clear(); |
163 } | 166 } |
164 | 167 |
165 } // namespace content | 168 } // namespace content |
OLD | NEW |