OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
11 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
12 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
13 #include "base/values.h" | 16 #include "base/values.h" |
14 #include "components/content_settings/core/browser/content_settings_origin_ident
ifier_value_map.h" | 17 #include "components/content_settings/core/browser/content_settings_origin_ident
ifier_value_map.h" |
15 #include "components/content_settings/core/browser/content_settings_provider.h" | 18 #include "components/content_settings/core/browser/content_settings_provider.h" |
16 #include "components/content_settings/core/common/content_settings_pattern.h" | 19 #include "components/content_settings/core/common/content_settings_pattern.h" |
17 #include "components/content_settings/core/common/content_settings_types.h" | 20 #include "components/content_settings/core/common/content_settings_types.h" |
18 | 21 |
19 class PrefService; | 22 class PrefService; |
20 class PrefChangeRegistrar; | 23 class PrefChangeRegistrar; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 mutable base::Lock lock_; | 132 mutable base::Lock lock_; |
130 | 133 |
131 base::ThreadChecker thread_checker_; | 134 base::ThreadChecker thread_checker_; |
132 | 135 |
133 DISALLOW_COPY_AND_ASSIGN(ContentSettingsPref); | 136 DISALLOW_COPY_AND_ASSIGN(ContentSettingsPref); |
134 }; | 137 }; |
135 | 138 |
136 } // namespace content_settings | 139 } // namespace content_settings |
137 | 140 |
138 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ | 141 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ |
OLD | NEW |