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_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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual HistoryService* GetHistoryServiceWithoutCreating(); | 64 virtual HistoryService* GetHistoryServiceWithoutCreating(); |
65 virtual AutocompleteClassifier* GetAutocompleteClassifier(); | 65 virtual AutocompleteClassifier* GetAutocompleteClassifier(); |
66 virtual WebDataService* GetWebDataService(ServiceAccessType sat); | 66 virtual WebDataService* GetWebDataService(ServiceAccessType sat); |
67 virtual WebDataService* GetWebDataServiceWithoutCreating(); | 67 virtual WebDataService* GetWebDataServiceWithoutCreating(); |
68 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); | 68 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); |
69 virtual PrefService* GetPrefs(); | 69 virtual PrefService* GetPrefs(); |
70 virtual TemplateURLModel* GetTemplateURLModel(); | 70 virtual TemplateURLModel* GetTemplateURLModel(); |
71 virtual TemplateURLFetcher* GetTemplateURLFetcher(); | 71 virtual TemplateURLFetcher* GetTemplateURLFetcher(); |
72 virtual DownloadManager* GetDownloadManager(); | 72 virtual DownloadManager* GetDownloadManager(); |
73 virtual PersonalDataManager* GetPersonalDataManager(); | 73 virtual PersonalDataManager* GetPersonalDataManager(); |
74 virtual BrowserFileSystemContext* GetFileSystemContext(); | 74 virtual fileapi::SandboxedFileSystemContext* GetFileSystemContext(); |
75 virtual void InitThemes(); | 75 virtual void InitThemes(); |
76 virtual void SetTheme(const Extension* extension); | 76 virtual void SetTheme(const Extension* extension); |
77 virtual void SetNativeTheme(); | 77 virtual void SetNativeTheme(); |
78 virtual void ClearTheme(); | 78 virtual void ClearTheme(); |
79 virtual const Extension* GetTheme(); | 79 virtual const Extension* GetTheme(); |
80 virtual BrowserThemeProvider* GetThemeProvider(); | 80 virtual BrowserThemeProvider* GetThemeProvider(); |
81 virtual bool HasCreatedDownloadManager() const; | 81 virtual bool HasCreatedDownloadManager() const; |
82 virtual URLRequestContextGetter* GetRequestContext(); | 82 virtual URLRequestContextGetter* GetRequestContext(); |
83 virtual URLRequestContextGetter* GetRequestContextForMedia(); | 83 virtual URLRequestContextGetter* GetRequestContextForMedia(); |
84 virtual URLRequestContextGetter* GetRequestContextForExtensions(); | 84 virtual URLRequestContextGetter* GetRequestContextForExtensions(); |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 scoped_refptr<PasswordStore> password_store_; | 228 scoped_refptr<PasswordStore> password_store_; |
229 scoped_refptr<SessionService> session_service_; | 229 scoped_refptr<SessionService> session_service_; |
230 scoped_ptr<BrowserThemeProvider> theme_provider_; | 230 scoped_ptr<BrowserThemeProvider> theme_provider_; |
231 scoped_refptr<WebKitContext> webkit_context_; | 231 scoped_refptr<WebKitContext> webkit_context_; |
232 scoped_ptr<DesktopNotificationService> desktop_notification_service_; | 232 scoped_ptr<DesktopNotificationService> desktop_notification_service_; |
233 scoped_ptr<BackgroundContentsService> background_contents_service_; | 233 scoped_ptr<BackgroundContentsService> background_contents_service_; |
234 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 234 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
235 scoped_ptr<StatusTray> status_tray_; | 235 scoped_ptr<StatusTray> status_tray_; |
236 scoped_refptr<PersonalDataManager> personal_data_manager_; | 236 scoped_refptr<PersonalDataManager> personal_data_manager_; |
237 scoped_ptr<PinnedTabService> pinned_tab_service_; | 237 scoped_ptr<PinnedTabService> pinned_tab_service_; |
238 scoped_refptr<BrowserFileSystemContext> browser_file_system_context_; | 238 scoped_refptr<fileapi::SandboxedFileSystemContext> file_system_context_; |
239 scoped_ptr<BrowserSignin> browser_signin_; | 239 scoped_ptr<BrowserSignin> browser_signin_; |
240 bool history_service_created_; | 240 bool history_service_created_; |
241 bool favicon_service_created_; | 241 bool favicon_service_created_; |
242 bool created_web_data_service_; | 242 bool created_web_data_service_; |
243 bool created_password_store_; | 243 bool created_password_store_; |
244 bool created_download_manager_; | 244 bool created_download_manager_; |
245 bool created_theme_provider_; | 245 bool created_theme_provider_; |
246 bool clear_local_state_on_exit_; | 246 bool clear_local_state_on_exit_; |
247 // Whether or not the last session exited cleanly. This is set only once. | 247 // Whether or not the last session exited cleanly. This is set only once. |
248 bool last_session_exited_cleanly_; | 248 bool last_session_exited_cleanly_; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 #endif | 296 #endif |
297 | 297 |
298 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 298 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
299 | 299 |
300 scoped_ptr<PrerenderManager> prerender_manager_; | 300 scoped_ptr<PrerenderManager> prerender_manager_; |
301 | 301 |
302 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 302 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
303 }; | 303 }; |
304 | 304 |
305 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 305 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |