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_STATUS_PREF_SETTER_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_STATUS_PREF_SETTER_H_ |
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_STATUS_PREF_SETTER_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_STATUS_PREF_SETTER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/prefs/pref_member.h" | 13 #include "components/prefs/pref_member.h" |
14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
16 | 16 |
17 class PluginPrefs; | 17 class PluginPrefs; |
18 class PrefService; | 18 class PrefService; |
19 class Profile; | 19 class Profile; |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 struct WebPluginInfo; | 22 struct WebPluginInfo; |
23 } | 23 } |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 BooleanPrefMember clear_plugin_lso_data_enabled_; | 64 BooleanPrefMember clear_plugin_lso_data_enabled_; |
65 // Whether we should show Pepper Flash-specific settings. | 65 // Whether we should show Pepper Flash-specific settings. |
66 BooleanPrefMember pepper_flash_settings_enabled_; | 66 BooleanPrefMember pepper_flash_settings_enabled_; |
67 | 67 |
68 base::WeakPtrFactory<PluginStatusPrefSetter> factory_; | 68 base::WeakPtrFactory<PluginStatusPrefSetter> factory_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(PluginStatusPrefSetter); | 70 DISALLOW_COPY_AND_ASSIGN(PluginStatusPrefSetter); |
71 }; | 71 }; |
72 | 72 |
73 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_STATUS_PREF_SETTER_H_ | 73 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_STATUS_PREF_SETTER_H_ |
OLD | NEW |