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

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

Issue 898003002: [Cleanup] Const-correct the profile() method for the EasyUnlockService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool IsOffTheRecord() const override; 98 bool IsOffTheRecord() const override;
99 Profile* GetOffTheRecordProfile() override; 99 Profile* GetOffTheRecordProfile() override;
100 void DestroyOffTheRecordProfile() override; 100 void DestroyOffTheRecordProfile() override;
101 bool HasOffTheRecordProfile() override; 101 bool HasOffTheRecordProfile() override;
102 Profile* GetOriginalProfile() override; 102 Profile* GetOriginalProfile() override;
103 bool IsSupervised() override; 103 bool IsSupervised() override;
104 bool IsChild() override; 104 bool IsChild() override;
105 bool IsLegacySupervised() override; 105 bool IsLegacySupervised() override;
106 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 106 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
107 PrefService* GetPrefs() override; 107 PrefService* GetPrefs() override;
108 const PrefService* GetPrefs() const override;
108 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; 109 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
109 PrefService* GetOffTheRecordPrefs() override; 110 PrefService* GetOffTheRecordPrefs() override;
110 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 111 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
111 net::SSLConfigService* GetSSLConfigService() override; 112 net::SSLConfigService* GetSSLConfigService() override;
112 HostContentSettingsMap* GetHostContentSettingsMap() override; 113 HostContentSettingsMap* GetHostContentSettingsMap() override;
113 bool IsSameProfile(Profile* profile) override; 114 bool IsSameProfile(Profile* profile) override;
114 base::Time GetStartTime() const override; 115 base::Time GetStartTime() const override;
115 net::URLRequestContextGetter* CreateRequestContext( 116 net::URLRequestContextGetter* CreateRequestContext(
116 content::ProtocolHandlerMap* protocol_handlers, 117 content::ProtocolHandlerMap* protocol_handlers,
117 content::URLRequestInterceptorScopedVector request_interceptors) override; 118 content::URLRequestInterceptorScopedVector request_interceptors) override;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // components/keyed_service/content/browser_context_keyed_service_factory.* 273 // components/keyed_service/content/browser_context_keyed_service_factory.*
273 274
274 Profile::Delegate* delegate_; 275 Profile::Delegate* delegate_;
275 276
276 chrome_browser_net::Predictor* predictor_; 277 chrome_browser_net::Predictor* predictor_;
277 278
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
279 }; 280 };
280 281
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698