| 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 |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | |
| 14 | 13 |
| 15 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 16 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 17 #include "base/hash_tables.h" | 16 #include "base/hash_tables.h" |
| 18 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
| 19 #include "base/singleton.h" | 18 #include "base/singleton.h" |
| 20 #include "base/waitable_event_watcher.h" | 19 #include "base/waitable_event_watcher.h" |
| 21 #include "chrome/common/notification_observer.h" | 20 #include "chrome/common/notification_observer.h" |
| 22 #include "chrome/common/notification_registrar.h" | 21 #include "chrome/common/notification_registrar.h" |
| 23 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 base::WaitableEventWatcher hklm_watcher_; | 145 base::WaitableEventWatcher hklm_watcher_; |
| 147 #endif | 146 #endif |
| 148 | 147 |
| 149 // Set to true if chrome plugins are enabled. Defaults to true. | 148 // Set to true if chrome plugins are enabled. Defaults to true. |
| 150 static bool enable_chrome_plugins_; | 149 static bool enable_chrome_plugins_; |
| 151 | 150 |
| 152 DISALLOW_COPY_AND_ASSIGN(PluginService); | 151 DISALLOW_COPY_AND_ASSIGN(PluginService); |
| 153 }; | 152 }; |
| 154 | 153 |
| 155 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ | 154 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ |
| OLD | NEW |