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

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

Issue 2860683002: WIP: Pref service: use the incognito support from Chrome
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 30
31 #if defined(OS_CHROMEOS) 31 #if defined(OS_CHROMEOS)
32 namespace chromeos { 32 namespace chromeos {
33 class KioskTest; 33 class KioskTest;
34 class LocaleChangeGuard; 34 class LocaleChangeGuard;
35 class Preferences; 35 class Preferences;
36 class SupervisedUserTestBase; 36 class SupervisedUserTestBase;
37 } 37 }
38 #endif 38 #endif
39 39
40 namespace sync_preferences {
41 class PrefServiceSyncableFactory;
42 }
43
40 namespace base { 44 namespace base {
41 class SequencedTaskRunner; 45 class SequencedTaskRunner;
42 } 46 }
43 47
44 namespace domain_reliability { 48 namespace domain_reliability {
45 class DomainReliabilityMonitor; 49 class DomainReliabilityMonitor;
46 } 50 }
47 51
48 namespace policy { 52 namespace policy {
49 class ConfigurationPolicyProvider; 53 class ConfigurationPolicyProvider;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool HasOffTheRecordProfile() override; 118 bool HasOffTheRecordProfile() override;
115 Profile* GetOriginalProfile() override; 119 Profile* GetOriginalProfile() override;
116 bool IsSupervised() const override; 120 bool IsSupervised() const override;
117 bool IsChild() const override; 121 bool IsChild() const override;
118 bool IsLegacySupervised() const override; 122 bool IsLegacySupervised() const override;
119 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 123 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
120 PrefService* GetPrefs() override; 124 PrefService* GetPrefs() override;
121 const PrefService* GetPrefs() const override; 125 const PrefService* GetPrefs() const override;
122 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; 126 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
123 PrefService* GetOffTheRecordPrefs() override; 127 PrefService* GetOffTheRecordPrefs() override;
128 sync_preferences::PrefServiceSyncable* CreateOffTheRecordPrefs(
129 service_manager::Connector* otr_connector) override;
124 net::URLRequestContextGetter* GetRequestContext() override; 130 net::URLRequestContextGetter* GetRequestContext() override;
125 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 131 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
126 net::SSLConfigService* GetSSLConfigService() override; 132 net::SSLConfigService* GetSSLConfigService() override;
127 bool IsSameProfile(Profile* profile) override; 133 bool IsSameProfile(Profile* profile) override;
128 base::Time GetStartTime() const override; 134 base::Time GetStartTime() const override;
129 base::FilePath last_selected_directory() override; 135 base::FilePath last_selected_directory() override;
130 void set_last_selected_directory(const base::FilePath& path) override; 136 void set_last_selected_directory(const base::FilePath& path) override;
131 chrome_browser_net::Predictor* GetNetworkPredictor() override; 137 chrome_browser_net::Predictor* GetNetworkPredictor() override;
132 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle() 138 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle()
133 override; 139 override;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // and you can read the raw headers here: 277 // and you can read the raw headers here:
272 // 278 //
273 // components/keyed_service/content/browser_context_dependency_manager.* 279 // components/keyed_service/content/browser_context_dependency_manager.*
274 // components/keyed_service/core/keyed_service.h 280 // components/keyed_service/core/keyed_service.h
275 // components/keyed_service/content/browser_context_keyed_service_factory.* 281 // components/keyed_service/content/browser_context_keyed_service_factory.*
276 282
277 Profile::Delegate* delegate_; 283 Profile::Delegate* delegate_;
278 284
279 chrome_browser_net::Predictor* predictor_; 285 chrome_browser_net::Predictor* predictor_;
280 286
287 std::unique_ptr<sync_preferences::PrefServiceSyncableFactory> prefs_factory_;
288
281 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 289 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
282 }; 290 };
283 291
284 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 292 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698