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_POLICY_PROVIDE
R_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_POLICY_PROVIDE
R_H_ |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_POLICY_PROVIDE
R_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_POLICY_PROVIDE
R_H_ |
7 | 7 |
8 // A content settings provider that takes its settings out of policies. | 8 // A content settings provider that takes its settings out of policies. |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "base/prefs/pref_change_registrar.h" | 13 #include "base/prefs/pref_change_registrar.h" |
14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
15 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" | 15 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" |
16 #include "components/content_settings/core/browser/content_settings_origin_ident
ifier_value_map.h" | 16 #include "components/content_settings/core/browser/content_settings_origin_ident
ifier_value_map.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 } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // Used around accesses to the |value_map_| object to guarantee | 78 // Used around accesses to the |value_map_| object to guarantee |
79 // thread safety. | 79 // thread safety. |
80 mutable base::Lock lock_; | 80 mutable base::Lock lock_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(PolicyProvider); | 82 DISALLOW_COPY_AND_ASSIGN(PolicyProvider); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace content_settings | 85 } // namespace content_settings |
86 | 86 |
87 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_POLICY_PROV
IDER_H_ | 87 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_POLICY_PROV
IDER_H_ |
OLD | NEW |