| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 std::string GetProfileName() override; | 102 std::string GetProfileName() override; |
| 103 ProfileType GetProfileType() const override; | 103 ProfileType GetProfileType() const override; |
| 104 bool IsOffTheRecord() const override; | 104 bool IsOffTheRecord() const override; |
| 105 Profile* GetOffTheRecordProfile() override; | 105 Profile* GetOffTheRecordProfile() override; |
| 106 void DestroyOffTheRecordProfile() override; | 106 void DestroyOffTheRecordProfile() override; |
| 107 bool HasOffTheRecordProfile() override; | 107 bool HasOffTheRecordProfile() override; |
| 108 Profile* GetOriginalProfile() override; | 108 Profile* GetOriginalProfile() override; |
| 109 bool IsSupervised() override; | 109 bool IsSupervised() override; |
| 110 bool IsChild() override; | 110 bool IsChild() override; |
| 111 bool IsLegacySupervised() override; | 111 bool IsLegacySupervised() override; |
| 112 history::TopSites* GetTopSites() override; | |
| 113 history::TopSites* GetTopSitesWithoutCreating() override; | |
| 114 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 112 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
| 115 PrefService* GetPrefs() override; | 113 PrefService* GetPrefs() override; |
| 116 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; | 114 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; |
| 117 PrefService* GetOffTheRecordPrefs() override; | 115 PrefService* GetOffTheRecordPrefs() override; |
| 118 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 116 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
| 119 net::SSLConfigService* GetSSLConfigService() override; | 117 net::SSLConfigService* GetSSLConfigService() override; |
| 120 HostContentSettingsMap* GetHostContentSettingsMap() override; | 118 HostContentSettingsMap* GetHostContentSettingsMap() override; |
| 121 bool IsSameProfile(Profile* profile) override; | 119 bool IsSameProfile(Profile* profile) override; |
| 122 base::Time GetStartTime() const override; | 120 base::Time GetStartTime() const override; |
| 123 net::URLRequestContextGetter* CreateRequestContext( | 121 net::URLRequestContextGetter* CreateRequestContext( |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 247 |
| 250 #if defined(ENABLE_SESSION_SERVICE) | 248 #if defined(ENABLE_SESSION_SERVICE) |
| 251 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 249 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
| 252 #endif | 250 #endif |
| 253 | 251 |
| 254 scoped_ptr<Profile> off_the_record_profile_; | 252 scoped_ptr<Profile> off_the_record_profile_; |
| 255 | 253 |
| 256 // See GetStartTime for details. | 254 // See GetStartTime for details. |
| 257 base::Time start_time_; | 255 base::Time start_time_; |
| 258 | 256 |
| 259 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | |
| 260 | |
| 261 #if defined(OS_CHROMEOS) | 257 #if defined(OS_CHROMEOS) |
| 262 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 258 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
| 263 | 259 |
| 264 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; | 260 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; |
| 265 | 261 |
| 266 bool is_login_profile_; | 262 bool is_login_profile_; |
| 267 #endif | 263 #endif |
| 268 | 264 |
| 269 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 265 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 270 | 266 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 283 // components/keyed_service/content/browser_context_keyed_service_factory.* | 279 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 284 | 280 |
| 285 Profile::Delegate* delegate_; | 281 Profile::Delegate* delegate_; |
| 286 | 282 |
| 287 chrome_browser_net::Predictor* predictor_; | 283 chrome_browser_net::Predictor* predictor_; |
| 288 | 284 |
| 289 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 285 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 290 }; | 286 }; |
| 291 | 287 |
| 292 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 288 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |