| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 scoped_refptr<PasswordStore> password_store_; | 189 scoped_refptr<PasswordStore> password_store_; |
| 189 scoped_refptr<SessionService> session_service_; | 190 scoped_refptr<SessionService> session_service_; |
| 190 scoped_ptr<BrowserThemeProvider> theme_provider_; | 191 scoped_ptr<BrowserThemeProvider> theme_provider_; |
| 191 scoped_refptr<WebKitContext> webkit_context_; | 192 scoped_refptr<WebKitContext> webkit_context_; |
| 192 scoped_ptr<DesktopNotificationService> desktop_notification_service_; | 193 scoped_ptr<DesktopNotificationService> desktop_notification_service_; |
| 193 scoped_ptr<BackgroundContentsService> background_contents_service_; | 194 scoped_ptr<BackgroundContentsService> background_contents_service_; |
| 194 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 195 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
| 195 scoped_ptr<StatusTray> status_tray_; | 196 scoped_ptr<StatusTray> status_tray_; |
| 196 scoped_refptr<PersonalDataManager> personal_data_manager_; | 197 scoped_refptr<PersonalDataManager> personal_data_manager_; |
| 197 scoped_ptr<PinnedTabService> pinned_tab_service_; | 198 scoped_ptr<PinnedTabService> pinned_tab_service_; |
| 199 scoped_refptr<FileSystemHostContext> file_system_host_context_; |
| 198 bool history_service_created_; | 200 bool history_service_created_; |
| 199 bool favicon_service_created_; | 201 bool favicon_service_created_; |
| 200 bool created_web_data_service_; | 202 bool created_web_data_service_; |
| 201 bool created_password_store_; | 203 bool created_password_store_; |
| 202 bool created_download_manager_; | 204 bool created_download_manager_; |
| 203 bool created_theme_provider_; | 205 bool created_theme_provider_; |
| 204 // Whether or not the last session exited cleanly. This is set only once. | 206 // Whether or not the last session exited cleanly. This is set only once. |
| 205 bool last_session_exited_cleanly_; | 207 bool last_session_exited_cleanly_; |
| 206 | 208 |
| 207 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 209 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 237 chromeos::Preferences chromeos_preferences_; | 239 chromeos::Preferences chromeos_preferences_; |
| 238 | 240 |
| 239 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 241 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 240 chromeos_proxy_config_service_impl_; | 242 chromeos_proxy_config_service_impl_; |
| 241 #endif | 243 #endif |
| 242 | 244 |
| 243 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 245 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 244 }; | 246 }; |
| 245 | 247 |
| 246 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 248 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
| OLD | NEW |