OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_CONTENT_SETTINGS_CONTENT_SETTINGS_SUPERVISED_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_SUPERVISED_PROVIDER_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_SUPERVISED_PROVIDER_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_SUPERVISED_PROVIDER_H_ |
7 | 7 |
8 // A content setting provider that is set by the custodian of a supervised user. | 8 // A content setting provider that is set by the custodian of a supervised user. |
9 | 9 |
10 #include "base/callback_list.h" | 10 #include "base/callback_list.h" |
| 11 #include "base/macros.h" |
11 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
12 #include "components/content_settings/core/browser/content_settings_binary_value
_map.h" | 13 #include "components/content_settings/core/browser/content_settings_binary_value
_map.h" |
13 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" | 14 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" |
14 | 15 |
15 class PrefService; | 16 class PrefService; |
16 class SupervisedUserSettingsService; | 17 class SupervisedUserSettingsService; |
17 | 18 |
18 namespace content_settings { | 19 namespace content_settings { |
19 | 20 |
20 // SupervisedProvider that provides content-settings managed by the custodian | 21 // SupervisedProvider that provides content-settings managed by the custodian |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 54 |
54 scoped_ptr<base::CallbackList<void( | 55 scoped_ptr<base::CallbackList<void( |
55 const base::DictionaryValue*)>::Subscription> user_settings_subscription_; | 56 const base::DictionaryValue*)>::Subscription> user_settings_subscription_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(SupervisedProvider); | 58 DISALLOW_COPY_AND_ASSIGN(SupervisedProvider); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace content_settings | 61 } // namespace content_settings |
61 | 62 |
62 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_SUPERVISED_PROVIDER_
H_ | 63 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_SUPERVISED_PROVIDER_
H_ |
OLD | NEW |