| OLD | NEW |
| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 std::string GetProfileName() override; | 96 std::string GetProfileName() override; |
| 97 ProfileType GetProfileType() const override; | 97 ProfileType GetProfileType() const override; |
| 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 history::TopSites* GetTopSites() override; | |
| 107 history::TopSites* GetTopSitesWithoutCreating() override; | |
| 108 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 106 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
| 109 PrefService* GetPrefs() override; | 107 PrefService* GetPrefs() override; |
| 110 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; | 108 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; |
| 111 PrefService* GetOffTheRecordPrefs() override; | 109 PrefService* GetOffTheRecordPrefs() override; |
| 112 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 110 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
| 113 net::SSLConfigService* GetSSLConfigService() override; | 111 net::SSLConfigService* GetSSLConfigService() override; |
| 114 HostContentSettingsMap* GetHostContentSettingsMap() override; | 112 HostContentSettingsMap* GetHostContentSettingsMap() override; |
| 115 bool IsSameProfile(Profile* profile) override; | 113 bool IsSameProfile(Profile* profile) override; |
| 116 base::Time GetStartTime() const override; | 114 base::Time GetStartTime() const override; |
| 117 net::URLRequestContextGetter* CreateRequestContext( | 115 net::URLRequestContextGetter* CreateRequestContext( |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 240 |
| 243 #if defined(ENABLE_SESSION_SERVICE) | 241 #if defined(ENABLE_SESSION_SERVICE) |
| 244 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 242 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
| 245 #endif | 243 #endif |
| 246 | 244 |
| 247 scoped_ptr<Profile> off_the_record_profile_; | 245 scoped_ptr<Profile> off_the_record_profile_; |
| 248 | 246 |
| 249 // See GetStartTime for details. | 247 // See GetStartTime for details. |
| 250 base::Time start_time_; | 248 base::Time start_time_; |
| 251 | 249 |
| 252 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | |
| 253 | |
| 254 #if defined(OS_CHROMEOS) | 250 #if defined(OS_CHROMEOS) |
| 255 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 251 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
| 256 | 252 |
| 257 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; | 253 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; |
| 258 | 254 |
| 259 bool is_login_profile_; | 255 bool is_login_profile_; |
| 260 #endif | 256 #endif |
| 261 | 257 |
| 262 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 258 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 263 | 259 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 276 // components/keyed_service/content/browser_context_keyed_service_factory.* | 272 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 277 | 273 |
| 278 Profile::Delegate* delegate_; | 274 Profile::Delegate* delegate_; |
| 279 | 275 |
| 280 chrome_browser_net::Predictor* predictor_; | 276 chrome_browser_net::Predictor* predictor_; |
| 281 | 277 |
| 282 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 283 }; | 279 }; |
| 284 | 280 |
| 285 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |