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 // This class responds to requests from renderers for the list of plugins, and | 5 // This class responds to requests from renderers for the list of plugins, and |
6 // also a proxy object for plugin instances. | 6 // also a proxy object for plugin instances. |
7 | 7 |
8 #ifndef CHROME_BROWSER_PLUGIN_SERVICE_H_ | 8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_H_ |
9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_ | 9 #define CONTENT_BROWSER_PLUGIN_SERVICE_H_ |
10 #pragma once | 10 #pragma once |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
16 #include "base/hash_tables.h" | 16 #include "base/hash_tables.h" |
17 #include "base/scoped_vector.h" | 17 #include "base/scoped_vector.h" |
18 #include "base/singleton.h" | 18 #include "base/singleton.h" |
19 #include "base/synchronization/lock.h" | 19 #include "base/synchronization/lock.h" |
20 #include "base/synchronization/waitable_event_watcher.h" | 20 #include "base/synchronization/waitable_event_watcher.h" |
21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
22 #include "chrome/browser/plugin_process_host.h" | |
23 #include "chrome/browser/ppapi_plugin_process_host.h" | |
24 #include "chrome/common/notification_observer.h" | 22 #include "chrome/common/notification_observer.h" |
25 #include "chrome/common/notification_registrar.h" | 23 #include "chrome/common/notification_registrar.h" |
| 24 #include "content/browser/plugin_process_host.h" |
| 25 #include "content/browser/ppapi_plugin_process_host.h" |
26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
27 #include "ipc/ipc_channel_handle.h" | 27 #include "ipc/ipc_channel_handle.h" |
28 #include "webkit/plugins/npapi/webplugininfo.h" | 28 #include "webkit/plugins/npapi/webplugininfo.h" |
29 | 29 |
30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
31 #include "base/scoped_ptr.h" | 31 #include "base/scoped_ptr.h" |
32 #include "base/win/registry.h" | 32 #include "base/win/registry.h" |
33 #endif | 33 #endif |
34 | 34 |
35 #if defined(OS_LINUX) | 35 #if defined(OS_LINUX) |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 static bool enable_chrome_plugins_; | 222 static bool enable_chrome_plugins_; |
223 | 223 |
224 std::vector<OverriddenPlugin> overridden_plugins_; | 224 std::vector<OverriddenPlugin> overridden_plugins_; |
225 base::Lock overridden_plugins_lock_; | 225 base::Lock overridden_plugins_lock_; |
226 | 226 |
227 DISALLOW_COPY_AND_ASSIGN(PluginService); | 227 DISALLOW_COPY_AND_ASSIGN(PluginService); |
228 }; | 228 }; |
229 | 229 |
230 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); | 230 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); |
231 | 231 |
232 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ | 232 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_H_ |
OLD | NEW |