OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_PLUGIN_SERVICE_H_ |
9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_ | 9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 #endif | 34 #endif |
35 | 35 |
36 namespace IPC { | 36 namespace IPC { |
37 class Message; | 37 class Message; |
38 } | 38 } |
39 | 39 |
40 class MessageLoop; | 40 class MessageLoop; |
41 class Profile; | 41 class Profile; |
42 class ResourceDispatcherHost; | 42 class ResourceDispatcherHost; |
43 class ResourceMessageFilter; | |
44 class URLRequestContext; | 43 class URLRequestContext; |
45 struct WebPluginInfo; | 44 struct WebPluginInfo; |
46 | 45 |
47 // This must be created on the main thread but it's only called on the IO/file | 46 // This must be created on the main thread but it's only called on the IO/file |
48 // thread. | 47 // thread. |
49 class PluginService | 48 class PluginService |
50 : public base::WaitableEventWatcher::Delegate, | 49 : public base::WaitableEventWatcher::Delegate, |
51 public NotificationObserver { | 50 public NotificationObserver { |
52 public: | 51 public: |
53 // Initializes the global instance; should be called on startup from the main | 52 // Initializes the global instance; should be called on startup from the main |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 174 |
176 // Set to true if chrome plugins are enabled. Defaults to true. | 175 // Set to true if chrome plugins are enabled. Defaults to true. |
177 static bool enable_chrome_plugins_; | 176 static bool enable_chrome_plugins_; |
178 | 177 |
179 DISALLOW_COPY_AND_ASSIGN(PluginService); | 178 DISALLOW_COPY_AND_ASSIGN(PluginService); |
180 }; | 179 }; |
181 | 180 |
182 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); | 181 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); |
183 | 182 |
184 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ | 183 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ |
OLD | NEW |