| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_PREFS_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_PREFS_H_ |
| 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_PREFS_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_PREFS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/prefs/pref_service.h" |
| 14 #include "base/prefs/public/pref_change_registrar.h" | 15 #include "base/prefs/public/pref_change_registrar.h" |
| 15 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 16 #include "chrome/browser/plugins/plugin_finder.h" | 17 #include "chrome/browser/plugins/plugin_finder.h" |
| 17 #include "chrome/browser/prefs/pref_service.h" | |
| 18 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" | 18 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" |
| 19 | 19 |
| 20 class Profile; | 20 class Profile; |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class ListValue; | 23 class ListValue; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace webkit { | 26 namespace webkit { |
| 27 struct WebPluginInfo; | 27 struct WebPluginInfo; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // PluginList to use for testing. If this is NULL, defaults to the global | 170 // PluginList to use for testing. If this is NULL, defaults to the global |
| 171 // singleton. | 171 // singleton. |
| 172 webkit::npapi::PluginList* plugin_list_; | 172 webkit::npapi::PluginList* plugin_list_; |
| 173 | 173 |
| 174 PrefChangeRegistrar registrar_; | 174 PrefChangeRegistrar registrar_; |
| 175 | 175 |
| 176 DISALLOW_COPY_AND_ASSIGN(PluginPrefs); | 176 DISALLOW_COPY_AND_ASSIGN(PluginPrefs); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_PREFS_H_ | 179 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_PREFS_H_ |
| OLD | NEW |