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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 virtual FindBarState* GetFindBarState(); | 102 virtual FindBarState* GetFindBarState(); |
103 virtual bool HasProfileSyncService() const; | 103 virtual bool HasProfileSyncService() const; |
104 virtual bool DidLastSessionExitCleanly(); | 104 virtual bool DidLastSessionExitCleanly(); |
105 virtual BookmarkModel* GetBookmarkModel(); | 105 virtual BookmarkModel* GetBookmarkModel(); |
106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); | 106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); |
107 virtual bool IsSameProfile(Profile* profile); | 107 virtual bool IsSameProfile(Profile* profile); |
108 virtual base::Time GetStartTime() const; | 108 virtual base::Time GetStartTime() const; |
109 virtual SpellCheckHost* GetSpellCheckHost(); | 109 virtual SpellCheckHost* GetSpellCheckHost(); |
110 virtual void ReinitializeSpellCheckHost(bool force); | 110 virtual void ReinitializeSpellCheckHost(bool force); |
111 virtual WebKitContext* GetWebKitContext(); | 111 virtual WebKitContext* GetWebKitContext(); |
112 virtual StatusTray* GetStatusTray(); | |
113 virtual void MarkAsCleanShutdown(); | 112 virtual void MarkAsCleanShutdown(); |
114 virtual void InitExtensions(bool extensions_enabled); | 113 virtual void InitExtensions(bool extensions_enabled); |
115 virtual void InitPromoResources(); | 114 virtual void InitPromoResources(); |
116 virtual void InitRegisteredProtocolHandlers(); | 115 virtual void InitRegisteredProtocolHandlers(); |
117 virtual NTPResourceCache* GetNTPResourceCache(); | 116 virtual NTPResourceCache* GetNTPResourceCache(); |
118 virtual FilePath last_selected_directory(); | 117 virtual FilePath last_selected_directory(); |
119 virtual void set_last_selected_directory(const FilePath& path); | 118 virtual void set_last_selected_directory(const FilePath& path); |
120 virtual ProfileSyncService* GetProfileSyncService(); | 119 virtual ProfileSyncService* GetProfileSyncService(); |
121 virtual ProfileSyncService* GetProfileSyncService( | 120 virtual ProfileSyncService* GetProfileSyncService( |
122 const std::string& cros_user); | 121 const std::string& cros_user); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 geolocation_permission_context_; | 233 geolocation_permission_context_; |
235 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; | 234 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; |
236 scoped_ptr<FindBarState> find_bar_state_; | 235 scoped_ptr<FindBarState> find_bar_state_; |
237 scoped_refptr<DownloadManager> download_manager_; | 236 scoped_refptr<DownloadManager> download_manager_; |
238 scoped_refptr<HistoryService> history_service_; | 237 scoped_refptr<HistoryService> history_service_; |
239 scoped_refptr<FaviconService> favicon_service_; | 238 scoped_refptr<FaviconService> favicon_service_; |
240 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; | 239 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; |
241 scoped_refptr<WebDataService> web_data_service_; | 240 scoped_refptr<WebDataService> web_data_service_; |
242 scoped_refptr<PasswordStore> password_store_; | 241 scoped_refptr<PasswordStore> password_store_; |
243 scoped_refptr<WebKitContext> webkit_context_; | 242 scoped_refptr<WebKitContext> webkit_context_; |
244 scoped_ptr<StatusTray> status_tray_; | |
245 scoped_refptr<PersonalDataManager> personal_data_manager_; | 243 scoped_refptr<PersonalDataManager> personal_data_manager_; |
246 scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 244 scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
247 scoped_ptr<BrowserSignin> browser_signin_; | 245 scoped_ptr<BrowserSignin> browser_signin_; |
248 scoped_refptr<quota::QuotaManager> quota_manager_; | 246 scoped_refptr<quota::QuotaManager> quota_manager_; |
249 bool history_service_created_; | 247 bool history_service_created_; |
250 bool favicon_service_created_; | 248 bool favicon_service_created_; |
251 bool created_web_data_service_; | 249 bool created_web_data_service_; |
252 bool created_password_store_; | 250 bool created_password_store_; |
253 bool created_download_manager_; | 251 bool created_download_manager_; |
254 bool clear_local_state_on_exit_; | 252 bool clear_local_state_on_exit_; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 297 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
300 | 298 |
301 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 299 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
302 | 300 |
303 Profile::Delegate* delegate_; | 301 Profile::Delegate* delegate_; |
304 | 302 |
305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
306 }; | 304 }; |
307 | 305 |
308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |