| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILE_H_ |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 class BrowserThemeProvider; | 27 class BrowserThemeProvider; |
| 28 class ChromeAppCacheService; | 28 class ChromeAppCacheService; |
| 29 class ChromeURLRequestContext; | 29 class ChromeURLRequestContext; |
| 30 class DownloadManager; | 30 class DownloadManager; |
| 31 class Extension; | 31 class Extension; |
| 32 class ExtensionDevToolsManager; | 32 class ExtensionDevToolsManager; |
| 33 class ExtensionProcessManager; | 33 class ExtensionProcessManager; |
| 34 class ExtensionMessageService; | 34 class ExtensionMessageService; |
| 35 class ExtensionsService; | 35 class ExtensionsService; |
| 36 class FaviconService; | 36 class FaviconService; |
| 37 class ForceTLSPersister; |
| 37 class HistoryService; | 38 class HistoryService; |
| 38 class NavigationController; | 39 class NavigationController; |
| 39 class PasswordStore; | 40 class PasswordStore; |
| 40 class PrefService; | 41 class PrefService; |
| 41 class ProfileSyncService; | 42 class ProfileSyncService; |
| 42 class SessionService; | 43 class SessionService; |
| 43 class SpellChecker; | 44 class SpellChecker; |
| 44 class SSLConfigServiceManager; | 45 class SSLConfigServiceManager; |
| 45 class SSLHostState; | 46 class SSLHostState; |
| 46 class SQLitePersistentCookieStore; | 47 class SQLitePersistentCookieStore; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 148 |
| 148 // Retrieves a pointer to the ExtensionMessageService associated with this | 149 // Retrieves a pointer to the ExtensionMessageService associated with this |
| 149 // profile. The instance is created at startup. | 150 // profile. The instance is created at startup. |
| 150 virtual ExtensionMessageService* GetExtensionMessageService() = 0; | 151 virtual ExtensionMessageService* GetExtensionMessageService() = 0; |
| 151 | 152 |
| 152 // Retrieves a pointer to the SSLHostState associated with this profile. | 153 // Retrieves a pointer to the SSLHostState associated with this profile. |
| 153 // The SSLHostState is lazily created the first time that this method is | 154 // The SSLHostState is lazily created the first time that this method is |
| 154 // called. | 155 // called. |
| 155 virtual SSLHostState* GetSSLHostState() = 0; | 156 virtual SSLHostState* GetSSLHostState() = 0; |
| 156 | 157 |
| 157 // Retrieves a pointer to the ForceTLStSate associated with this profile. | 158 // Retrieves a pointer to the ForceTLSState associated with this profile. |
| 158 // The ForceTLSState is lazily created the first time that this method is | 159 // The ForceTLSState is lazily created the first time that this method is |
| 159 // called. | 160 // called. |
| 160 virtual net::ForceTLSState* GetForceTLSState() = 0; | 161 virtual net::ForceTLSState* GetForceTLSState() = 0; |
| 161 | 162 |
| 162 // Retrieves a pointer to the FaviconService associated with this | 163 // Retrieves a pointer to the FaviconService associated with this |
| 163 // profile. The FaviconService is lazily created the first time | 164 // profile. The FaviconService is lazily created the first time |
| 164 // that this method is called. | 165 // that this method is called. |
| 165 // | 166 // |
| 166 // Although FaviconService is refcounted, this will not addref, and callers | 167 // Although FaviconService is refcounted, this will not addref, and callers |
| 167 // do not need to do any reference counting as long as they keep the pointer | 168 // do not need to do any reference counting as long as they keep the pointer |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 FilePath base_cache_path_; | 454 FilePath base_cache_path_; |
| 454 scoped_refptr<ChromeAppCacheService> appcache_service_; | 455 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 455 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; | 456 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; |
| 456 scoped_ptr<VisitedLinkMaster> visited_link_master_; | 457 scoped_ptr<VisitedLinkMaster> visited_link_master_; |
| 457 scoped_refptr<ExtensionsService> extensions_service_; | 458 scoped_refptr<ExtensionsService> extensions_service_; |
| 458 scoped_refptr<UserScriptMaster> user_script_master_; | 459 scoped_refptr<UserScriptMaster> user_script_master_; |
| 459 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; | 460 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; |
| 460 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 461 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 461 scoped_refptr<ExtensionMessageService> extension_message_service_; | 462 scoped_refptr<ExtensionMessageService> extension_message_service_; |
| 462 scoped_ptr<SSLHostState> ssl_host_state_; | 463 scoped_ptr<SSLHostState> ssl_host_state_; |
| 463 scoped_ptr<net::ForceTLSState> force_tls_state_; | 464 scoped_refptr<net::ForceTLSState> force_tls_state_; |
| 465 scoped_refptr<ForceTLSPersister> force_tls_persister_; |
| 464 scoped_ptr<PrefService> prefs_; | 466 scoped_ptr<PrefService> prefs_; |
| 465 scoped_refptr<ThumbnailStore> thumbnail_store_; | 467 scoped_refptr<ThumbnailStore> thumbnail_store_; |
| 466 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; | 468 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |
| 467 scoped_ptr<TemplateURLModel> template_url_model_; | 469 scoped_ptr<TemplateURLModel> template_url_model_; |
| 468 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 470 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
| 469 scoped_refptr<WebResourceService> web_resource_service_; | 471 scoped_refptr<WebResourceService> web_resource_service_; |
| 470 | 472 |
| 471 #ifdef CHROME_PERSONALIZATION | 473 #ifdef CHROME_PERSONALIZATION |
| 472 scoped_ptr<ProfileSyncService> sync_service_; | 474 scoped_ptr<ProfileSyncService> sync_service_; |
| 473 #endif | 475 #endif |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 #endif | 535 #endif |
| 534 | 536 |
| 535 // This struct is used to pass the spellchecker object through the notification | 537 // This struct is used to pass the spellchecker object through the notification |
| 536 // NOTIFY_SPELLCHECKER_REINITIALIZED. This is used as the details for the | 538 // NOTIFY_SPELLCHECKER_REINITIALIZED. This is used as the details for the |
| 537 // notification service. | 539 // notification service. |
| 538 struct SpellcheckerReinitializedDetails { | 540 struct SpellcheckerReinitializedDetails { |
| 539 scoped_refptr<SpellChecker> spellchecker; | 541 scoped_refptr<SpellChecker> spellchecker; |
| 540 }; | 542 }; |
| 541 | 543 |
| 542 #endif // CHROME_BROWSER_PROFILE_H_ | 544 #endif // CHROME_BROWSER_PROFILE_H_ |
| OLD | NEW |