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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 2459823002: [Sync] Rename syncable_prefs to sync_preferences. (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 namespace policy { 51 namespace policy {
52 class CloudPolicyManager; 52 class CloudPolicyManager;
53 class ProfilePolicyConnector; 53 class ProfilePolicyConnector;
54 class SchemaRegistryService; 54 class SchemaRegistryService;
55 } 55 }
56 56
57 namespace ssl_config { 57 namespace ssl_config {
58 class SSLConfigServiceManager; 58 class SSLConfigServiceManager;
59 } 59 }
60 60
61 namespace syncable_prefs { 61 namespace sync_preferences {
62 class PrefServiceSyncable; 62 class PrefServiceSyncable;
63 } 63 }
64 64
65 namespace user_prefs { 65 namespace user_prefs {
66 class PrefRegistrySyncable; 66 class PrefRegistrySyncable;
67 } 67 }
68 68
69 // The default profile implementation. 69 // The default profile implementation.
70 class ProfileImpl : public Profile { 70 class ProfileImpl : public Profile {
71 public: 71 public:
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives 216 // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives
217 // the latter. 217 // the latter.
218 std::unique_ptr<TrackedPreferenceValidationDelegate> 218 std::unique_ptr<TrackedPreferenceValidationDelegate>
219 pref_validation_delegate_; 219 pref_validation_delegate_;
220 220
221 // Keep |prefs_| on top for destruction order because |extension_prefs_|, 221 // Keep |prefs_| on top for destruction order because |extension_prefs_|,
222 // |io_data_| and others store pointers to |prefs_| and shall be destructed 222 // |io_data_| and others store pointers to |prefs_| and shall be destructed
223 // first. 223 // first.
224 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_; 224 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_;
225 std::unique_ptr<syncable_prefs::PrefServiceSyncable> prefs_; 225 std::unique_ptr<sync_preferences::PrefServiceSyncable> prefs_;
226 std::unique_ptr<syncable_prefs::PrefServiceSyncable> otr_prefs_; 226 std::unique_ptr<sync_preferences::PrefServiceSyncable> otr_prefs_;
227 ProfileImplIOData::Handle io_data_; 227 ProfileImplIOData::Handle io_data_;
228 #if defined(ENABLE_EXTENSIONS) 228 #if defined(ENABLE_EXTENSIONS)
229 scoped_refptr<ExtensionSpecialStoragePolicy> 229 scoped_refptr<ExtensionSpecialStoragePolicy>
230 extension_special_storage_policy_; 230 extension_special_storage_policy_;
231 #endif 231 #endif
232 std::unique_ptr<ssl_config::SSLConfigServiceManager> 232 std::unique_ptr<ssl_config::SSLConfigServiceManager>
233 ssl_config_service_manager_; 233 ssl_config_service_manager_;
234 234
235 // Exit type the last time the profile was opened. This is set only once from 235 // Exit type the last time the profile was opened. This is set only once from
236 // prefs. 236 // prefs.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // components/keyed_service/content/browser_context_keyed_service_factory.* 268 // components/keyed_service/content/browser_context_keyed_service_factory.*
269 269
270 Profile::Delegate* delegate_; 270 Profile::Delegate* delegate_;
271 271
272 chrome_browser_net::Predictor* predictor_; 272 chrome_browser_net::Predictor* predictor_;
273 273
274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
275 }; 275 };
276 276
277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_destroyer_unittest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698