Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: components/content_settings/core/browser/content_settings_pref.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #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"
18 #include "components/content_settings/core/browser/content_settings_provider.h" 18 #include "components/content_settings/core/browser/content_settings_provider.h"
19 #include "components/content_settings/core/common/content_settings_pattern.h" 19 #include "components/content_settings/core/common/content_settings_pattern.h"
20 #include "components/content_settings/core/common/content_settings_types.h" 20 #include "components/content_settings/core/common/content_settings_types.h"
21 21
22 class PrefService; 22 class PrefService;
23 class PrefChangeRegistrar; 23 class PrefChangeRegistrar;
24 24
25 namespace base { 25 namespace base {
26 class Clock; 26 class Clock;
27 class DictionaryValue; 27 class DictionaryValue;
28 } 28 }
29 29
30 namespace user_prefs {
31 class PrefRegistrySyncable;
32 }
33
34 namespace content_settings { 30 namespace content_settings {
35 31
36 class RuleIterator; 32 class RuleIterator;
37 33
38 // Represents a single pref for reading/writing content settings of one type. 34 // Represents a single pref for reading/writing content settings of one type.
39 class ContentSettingsPref { 35 class ContentSettingsPref {
40 public: 36 public:
41 typedef base::Callback<void(const ContentSettingsPattern&, 37 typedef base::Callback<void(const ContentSettingsPattern&,
42 const ContentSettingsPattern&, 38 const ContentSettingsPattern&,
43 ContentSettingsType, 39 ContentSettingsType,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 mutable base::Lock lock_; 127 mutable base::Lock lock_;
132 128
133 base::ThreadChecker thread_checker_; 129 base::ThreadChecker thread_checker_;
134 130
135 DISALLOW_COPY_AND_ASSIGN(ContentSettingsPref); 131 DISALLOW_COPY_AND_ASSIGN(ContentSettingsPref);
136 }; 132 };
137 133
138 } // namespace content_settings 134 } // namespace content_settings
139 135
140 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_ 136 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_PREF_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698