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 | 10 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 RegKey hklm_key_; | 149 RegKey hklm_key_; |
150 scoped_ptr<base::WaitableEvent> hkcu_event_; | 150 scoped_ptr<base::WaitableEvent> hkcu_event_; |
151 scoped_ptr<base::WaitableEvent> hklm_event_; | 151 scoped_ptr<base::WaitableEvent> hklm_event_; |
152 base::WaitableEventWatcher hkcu_watcher_; | 152 base::WaitableEventWatcher hkcu_watcher_; |
153 base::WaitableEventWatcher hklm_watcher_; | 153 base::WaitableEventWatcher hklm_watcher_; |
154 #endif | 154 #endif |
155 | 155 |
156 // Set to true if chrome plugins are enabled. Defaults to true. | 156 // Set to true if chrome plugins are enabled. Defaults to true. |
157 static bool enable_chrome_plugins_; | 157 static bool enable_chrome_plugins_; |
158 | 158 |
159 // Set to true iff the internal pdf plugin is enabled by default. | |
160 static bool enable_internal_pdf_; | |
161 | |
162 DISALLOW_COPY_AND_ASSIGN(PluginService); | 159 DISALLOW_COPY_AND_ASSIGN(PluginService); |
163 }; | 160 }; |
164 | 161 |
165 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ | 162 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ |
OLD | NEW |