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