| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual HistoryService* GetHistoryServiceWithoutCreating(); | 52 virtual HistoryService* GetHistoryServiceWithoutCreating(); |
| 53 virtual AutocompleteClassifier* GetAutocompleteClassifier(); | 53 virtual AutocompleteClassifier* GetAutocompleteClassifier(); |
| 54 virtual WebDataService* GetWebDataService(ServiceAccessType sat); | 54 virtual WebDataService* GetWebDataService(ServiceAccessType sat); |
| 55 virtual WebDataService* GetWebDataServiceWithoutCreating(); | 55 virtual WebDataService* GetWebDataServiceWithoutCreating(); |
| 56 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); | 56 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); |
| 57 virtual PrefService* GetPrefs(); | 57 virtual PrefService* GetPrefs(); |
| 58 virtual TemplateURLModel* GetTemplateURLModel(); | 58 virtual TemplateURLModel* GetTemplateURLModel(); |
| 59 virtual TemplateURLFetcher* GetTemplateURLFetcher(); | 59 virtual TemplateURLFetcher* GetTemplateURLFetcher(); |
| 60 virtual DownloadManager* GetDownloadManager(); | 60 virtual DownloadManager* GetDownloadManager(); |
| 61 virtual PersonalDataManager* GetPersonalDataManager(); | 61 virtual PersonalDataManager* GetPersonalDataManager(); |
| 62 virtual FileSystemHostContext* GetFileSystemHostContext(); |
| 62 virtual void InitThemes(); | 63 virtual void InitThemes(); |
| 63 virtual void SetTheme(Extension* extension); | 64 virtual void SetTheme(Extension* extension); |
| 64 virtual void SetNativeTheme(); | 65 virtual void SetNativeTheme(); |
| 65 virtual void ClearTheme(); | 66 virtual void ClearTheme(); |
| 66 virtual Extension* GetTheme(); | 67 virtual Extension* GetTheme(); |
| 67 virtual BrowserThemeProvider* GetThemeProvider(); | 68 virtual BrowserThemeProvider* GetThemeProvider(); |
| 68 virtual bool HasCreatedDownloadManager() const; | 69 virtual bool HasCreatedDownloadManager() const; |
| 69 virtual URLRequestContextGetter* GetRequestContext(); | 70 virtual URLRequestContextGetter* GetRequestContext(); |
| 70 virtual URLRequestContextGetter* GetRequestContextForMedia(); | 71 virtual URLRequestContextGetter* GetRequestContextForMedia(); |
| 71 virtual URLRequestContextGetter* GetRequestContextForExtensions(); | 72 virtual URLRequestContextGetter* GetRequestContextForExtensions(); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 scoped_refptr<PasswordStore> password_store_; | 190 scoped_refptr<PasswordStore> password_store_; |
| 190 scoped_refptr<SessionService> session_service_; | 191 scoped_refptr<SessionService> session_service_; |
| 191 scoped_ptr<BrowserThemeProvider> theme_provider_; | 192 scoped_ptr<BrowserThemeProvider> theme_provider_; |
| 192 scoped_refptr<WebKitContext> webkit_context_; | 193 scoped_refptr<WebKitContext> webkit_context_; |
| 193 scoped_ptr<DesktopNotificationService> desktop_notification_service_; | 194 scoped_ptr<DesktopNotificationService> desktop_notification_service_; |
| 194 scoped_ptr<BackgroundContentsService> background_contents_service_; | 195 scoped_ptr<BackgroundContentsService> background_contents_service_; |
| 195 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 196 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
| 196 scoped_ptr<StatusTray> status_tray_; | 197 scoped_ptr<StatusTray> status_tray_; |
| 197 scoped_refptr<PersonalDataManager> personal_data_manager_; | 198 scoped_refptr<PersonalDataManager> personal_data_manager_; |
| 198 scoped_ptr<PinnedTabService> pinned_tab_service_; | 199 scoped_ptr<PinnedTabService> pinned_tab_service_; |
| 200 scoped_refptr<FileSystemHostContext> file_system_host_context_; |
| 199 bool history_service_created_; | 201 bool history_service_created_; |
| 200 bool favicon_service_created_; | 202 bool favicon_service_created_; |
| 201 bool created_web_data_service_; | 203 bool created_web_data_service_; |
| 202 bool created_password_store_; | 204 bool created_password_store_; |
| 203 bool created_download_manager_; | 205 bool created_download_manager_; |
| 204 bool created_theme_provider_; | 206 bool created_theme_provider_; |
| 205 // Whether or not the last session exited cleanly. This is set only once. | 207 // Whether or not the last session exited cleanly. This is set only once. |
| 206 bool last_session_exited_cleanly_; | 208 bool last_session_exited_cleanly_; |
| 207 | 209 |
| 208 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 210 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 chromeos::Preferences chromeos_preferences_; | 242 chromeos::Preferences chromeos_preferences_; |
| 241 | 243 |
| 242 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 244 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 243 chromeos_proxy_config_service_impl_; | 245 chromeos_proxy_config_service_impl_; |
| 244 #endif | 246 #endif |
| 245 | 247 |
| 246 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 248 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 247 }; | 249 }; |
| 248 | 250 |
| 249 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 251 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
| OLD | NEW |