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

Side by Side Diff: chrome/browser/prefs/profile_pref_store_manager.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PREFS_PROFILE_PREF_STORE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_
6 #define CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_ 6 #define CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 13 matching lines...) Expand all
24 24
25 namespace base { 25 namespace base {
26 class DictionaryValue; 26 class DictionaryValue;
27 class SequencedTaskRunner; 27 class SequencedTaskRunner;
28 } // namespace base 28 } // namespace base
29 29
30 namespace user_prefs { 30 namespace user_prefs {
31 class PrefRegistrySyncable; 31 class PrefRegistrySyncable;
32 } // namespace user_prefs 32 } // namespace user_prefs
33 33
34 class PrefRegistrySimple;
35
36 // Provides a facade through which the user preference store may be accessed and 34 // Provides a facade through which the user preference store may be accessed and
37 // managed. 35 // managed.
38 class ProfilePrefStoreManager { 36 class ProfilePrefStoreManager {
39 public: 37 public:
40 // Instantiates a ProfilePrefStoreManager with the configuration required to 38 // Instantiates a ProfilePrefStoreManager with the configuration required to
41 // manage the user preferences of the profile at |profile_path|. 39 // manage the user preferences of the profile at |profile_path|.
42 // |tracking_configuration| is used for preference tracking. 40 // |tracking_configuration| is used for preference tracking.
43 // |reporting_ids_count| is the count of all possible tracked preference IDs 41 // |reporting_ids_count| is the count of all possible tracked preference IDs
44 // (possibly greater than |tracking_configuration.size()|). 42 // (possibly greater than |tracking_configuration.size()|).
45 // |seed| and |device_id| are used to track preference value changes and must 43 // |seed| and |device_id| are used to track preference value changes and must
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 tracking_configuration_; 117 tracking_configuration_;
120 const size_t reporting_ids_count_; 118 const size_t reporting_ids_count_;
121 const std::string seed_; 119 const std::string seed_;
122 const std::string device_id_; 120 const std::string device_id_;
123 PrefService* local_state_; 121 PrefService* local_state_;
124 122
125 DISALLOW_COPY_AND_ASSIGN(ProfilePrefStoreManager); 123 DISALLOW_COPY_AND_ASSIGN(ProfilePrefStoreManager);
126 }; 124 };
127 125
128 #endif // CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_ 126 #endif // CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_metrics_service.h ('k') | chrome/browser/prerender/prerender_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698