OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DEFAULT_PROVID
ER_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DEFAULT_PROVID
ER_H_ |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DEFAULT_PROVID
ER_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DEFAULT_PROVID
ER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/prefs/pref_change_registrar.h" |
14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
15 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" | 16 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" |
16 #include "components/prefs/pref_change_registrar.h" | |
17 | 17 |
18 class PrefService; | 18 class PrefService; |
19 | 19 |
20 namespace user_prefs { | 20 namespace user_prefs { |
21 class PrefRegistrySyncable; | 21 class PrefRegistrySyncable; |
22 } | 22 } |
23 | 23 |
24 namespace content_settings { | 24 namespace content_settings { |
25 | 25 |
26 // Provider that provides default content settings based on | 26 // Provider that provides default content settings based on |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // Whether we are currently updating preferences, this is used to ignore | 92 // Whether we are currently updating preferences, this is used to ignore |
93 // notifications from the preferences service that we triggered ourself. | 93 // notifications from the preferences service that we triggered ourself. |
94 bool updating_preferences_; | 94 bool updating_preferences_; |
95 | 95 |
96 DISALLOW_COPY_AND_ASSIGN(DefaultProvider); | 96 DISALLOW_COPY_AND_ASSIGN(DefaultProvider); |
97 }; | 97 }; |
98 | 98 |
99 } // namespace content_settings | 99 } // namespace content_settings |
100 | 100 |
101 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DEFAULT_PRO
VIDER_H_ | 101 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DEFAULT_PRO
VIDER_H_ |
OLD | NEW |