OLD | NEW |
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/browser/plugin_loader_posix.h" | 5 #include "content/browser/plugin_loader_posix.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| 11 #include "content/common/child_process_host.h" |
11 #include "content/common/utility_messages.h" | 12 #include "content/common/utility_messages.h" |
12 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
13 #include "webkit/plugins/npapi/plugin_list.h" | 14 #include "webkit/plugins/npapi/plugin_list.h" |
14 | 15 |
15 using content::BrowserThread; | 16 using content::BrowserThread; |
16 | 17 |
17 PluginLoaderPosix::PluginLoaderPosix() | 18 PluginLoaderPosix::PluginLoaderPosix() |
18 : next_load_index_(0) { | 19 : next_load_index_(0) { |
19 } | 20 } |
20 | 21 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 169 |
169 PluginLoaderPosix::PendingCallback::PendingCallback( | 170 PluginLoaderPosix::PendingCallback::PendingCallback( |
170 scoped_refptr<base::MessageLoopProxy> loop, | 171 scoped_refptr<base::MessageLoopProxy> loop, |
171 const PluginService::GetPluginsCallback& cb) | 172 const PluginService::GetPluginsCallback& cb) |
172 : target_loop(loop), | 173 : target_loop(loop), |
173 callback(cb) { | 174 callback(cb) { |
174 } | 175 } |
175 | 176 |
176 PluginLoaderPosix::PendingCallback::~PendingCallback() { | 177 PluginLoaderPosix::PendingCallback::~PendingCallback() { |
177 } | 178 } |
OLD | NEW |