OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 virtual FilePath last_selected_directory(); | 115 virtual FilePath last_selected_directory(); |
116 virtual void set_last_selected_directory(const FilePath& path); | 116 virtual void set_last_selected_directory(const FilePath& path); |
117 virtual ProfileSyncService* GetProfileSyncService(); | 117 virtual ProfileSyncService* GetProfileSyncService(); |
118 virtual ProfileSyncService* GetProfileSyncService( | 118 virtual ProfileSyncService* GetProfileSyncService( |
119 const std::string& cros_user); | 119 const std::string& cros_user); |
120 virtual TokenService* GetTokenService(); | 120 virtual TokenService* GetTokenService(); |
121 void InitSyncService(const std::string& cros_user); | 121 void InitSyncService(const std::string& cros_user); |
122 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 122 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
123 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 123 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
124 virtual PromoCounter* GetInstantPromoCounter(); | 124 virtual PromoCounter* GetInstantPromoCounter(); |
125 virtual BrowserSignin* GetBrowserSignin(); | |
126 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 125 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
127 | 126 |
128 #if defined(OS_CHROMEOS) | 127 #if defined(OS_CHROMEOS) |
129 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); | 128 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); |
130 virtual void OnLogin(); | 129 virtual void OnLogin(); |
131 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 130 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
132 virtual void InitChromeOSPreferences(); | 131 virtual void InitChromeOSPreferences(); |
133 #endif // defined(OS_CHROMEOS) | 132 #endif // defined(OS_CHROMEOS) |
134 | 133 |
135 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 134 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 scoped_refptr<DownloadManager> download_manager_; | 231 scoped_refptr<DownloadManager> download_manager_; |
233 scoped_refptr<HistoryService> history_service_; | 232 scoped_refptr<HistoryService> history_service_; |
234 scoped_refptr<FaviconService> favicon_service_; | 233 scoped_refptr<FaviconService> favicon_service_; |
235 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; | 234 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; |
236 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; | 235 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; |
237 scoped_refptr<WebDataService> web_data_service_; | 236 scoped_refptr<WebDataService> web_data_service_; |
238 scoped_refptr<PasswordStore> password_store_; | 237 scoped_refptr<PasswordStore> password_store_; |
239 scoped_refptr<WebKitContext> webkit_context_; | 238 scoped_refptr<WebKitContext> webkit_context_; |
240 scoped_refptr<PersonalDataManager> personal_data_manager_; | 239 scoped_refptr<PersonalDataManager> personal_data_manager_; |
241 scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 240 scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
242 scoped_ptr<BrowserSignin> browser_signin_; | |
243 scoped_refptr<quota::QuotaManager> quota_manager_; | 241 scoped_refptr<quota::QuotaManager> quota_manager_; |
244 bool history_service_created_; | 242 bool history_service_created_; |
245 bool favicon_service_created_; | 243 bool favicon_service_created_; |
246 bool created_web_data_service_; | 244 bool created_web_data_service_; |
247 bool created_password_store_; | 245 bool created_password_store_; |
248 bool created_download_manager_; | 246 bool created_download_manager_; |
249 bool clear_local_state_on_exit_; | 247 bool clear_local_state_on_exit_; |
250 // Whether or not the last session exited cleanly. This is set only once. | 248 // Whether or not the last session exited cleanly. This is set only once. |
251 bool last_session_exited_cleanly_; | 249 bool last_session_exited_cleanly_; |
252 | 250 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 288 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
291 | 289 |
292 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 290 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
293 | 291 |
294 Profile::Delegate* delegate_; | 292 Profile::Delegate* delegate_; |
295 | 293 |
296 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
297 }; | 295 }; |
298 | 296 |
299 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |