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

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

Issue 12340111: Introduce //components/user_prefs, use to eliminate c/b/prefs dependency in Autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge of LKGR Created 7 years, 9 months 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 | Annotate | Revision Log
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 <string> 10 #include <string>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // TODO(bauerb, mnissler): Once |prefs_| is a ProfileKeyedService, these 223 // TODO(bauerb, mnissler): Once |prefs_| is a ProfileKeyedService, these
224 // should become proper ProfileKeyedServices as well. 224 // should become proper ProfileKeyedServices as well.
225 #if !defined(OS_CHROMEOS) 225 #if !defined(OS_CHROMEOS)
226 scoped_ptr<policy::UserCloudPolicyManager> cloud_policy_manager_; 226 scoped_ptr<policy::UserCloudPolicyManager> cloud_policy_manager_;
227 #endif 227 #endif
228 scoped_ptr<policy::ManagedModePolicyProvider> managed_mode_policy_provider_; 228 scoped_ptr<policy::ManagedModePolicyProvider> managed_mode_policy_provider_;
229 #endif 229 #endif
230 scoped_ptr<policy::PolicyService> policy_service_; 230 scoped_ptr<policy::PolicyService> policy_service_;
231 231
232 // Keep |prefs_| on top for destruction order because |extension_prefs_|, 232 // Keep |prefs_| on top for destruction order because |extension_prefs_|,
233 // |net_pref_observer_|, |io_data_| an others store pointers to |prefs_| and 233 // |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and
234 // shall be destructed first. 234 // shall be destructed first.
235 scoped_refptr<PrefRegistrySyncable> pref_registry_; 235 scoped_refptr<PrefRegistrySyncable> pref_registry_;
236 scoped_ptr<PrefServiceSyncable> prefs_; 236 scoped_ptr<PrefServiceSyncable> prefs_;
237 scoped_ptr<PrefServiceSyncable> otr_prefs_; 237 scoped_ptr<PrefServiceSyncable> otr_prefs_;
238 ProfileImplIOData::Handle io_data_; 238 ProfileImplIOData::Handle io_data_;
239 scoped_refptr<ExtensionSpecialStoragePolicy> 239 scoped_refptr<ExtensionSpecialStoragePolicy>
240 extension_special_storage_policy_; 240 extension_special_storage_policy_;
241 scoped_ptr<NetPrefObserver> net_pref_observer_; 241 scoped_ptr<NetPrefObserver> net_pref_observer_;
242 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 242 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
243 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 243 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 284 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
285 285
286 Profile::Delegate* delegate_; 286 Profile::Delegate* delegate_;
287 287
288 chrome_browser_net::Predictor* predictor_; 288 chrome_browser_net::Predictor* predictor_;
289 289
290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
291 }; 291 };
292 292
293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698