| 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 13 matching lines...) Expand all Loading... |
| 24 namespace net { | 24 namespace net { |
| 25 class ForceTLSState; | 25 class ForceTLSState; |
| 26 } | 26 } |
| 27 class Blacklist; | 27 class Blacklist; |
| 28 class BookmarkModel; | 28 class BookmarkModel; |
| 29 class BrowserThemeProvider; | 29 class BrowserThemeProvider; |
| 30 class ChromeURLRequestContext; | 30 class ChromeURLRequestContext; |
| 31 class DownloadManager; | 31 class DownloadManager; |
| 32 class Extension; | 32 class Extension; |
| 33 class ExtensionProcessManager; | 33 class ExtensionProcessManager; |
| 34 class ExtensionMessageService; |
| 34 class ExtensionsService; | 35 class ExtensionsService; |
| 35 class HistoryService; | 36 class HistoryService; |
| 36 class NavigationController; | 37 class NavigationController; |
| 37 class PasswordStore; | 38 class PasswordStore; |
| 38 class PrefService; | 39 class PrefService; |
| 39 class SessionService; | 40 class SessionService; |
| 40 class SpellChecker; | 41 class SpellChecker; |
| 41 class SSLHostState; | 42 class SSLHostState; |
| 42 class SQLitePersistentCookieStore; | 43 class SQLitePersistentCookieStore; |
| 43 class TabRestoreService; | 44 class TabRestoreService; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 126 |
| 126 // Retrieves a pointer to the UserScriptMaster associated with this | 127 // Retrieves a pointer to the UserScriptMaster associated with this |
| 127 // profile. The UserScriptMaster is lazily created the first time | 128 // profile. The UserScriptMaster is lazily created the first time |
| 128 // that this method is called. | 129 // that this method is called. |
| 129 virtual UserScriptMaster* GetUserScriptMaster() = 0; | 130 virtual UserScriptMaster* GetUserScriptMaster() = 0; |
| 130 | 131 |
| 131 // Retrieves a pointer to the ExtensionProcessManager associated with this | 132 // Retrieves a pointer to the ExtensionProcessManager associated with this |
| 132 // profile. The instance is created at startup. | 133 // profile. The instance is created at startup. |
| 133 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; | 134 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; |
| 134 | 135 |
| 136 // Retrieves a pointer to the ExtensionMessageService associated with this |
| 137 // profile. The instance is created at startup. |
| 138 virtual ExtensionMessageService* GetExtensionMessageService() = 0; |
| 139 |
| 135 // Retrieves a pointer to the SSLHostState associated with this profile. | 140 // Retrieves a pointer to the SSLHostState associated with this profile. |
| 136 // The SSLHostState is lazily created the first time that this method is | 141 // The SSLHostState is lazily created the first time that this method is |
| 137 // called. | 142 // called. |
| 138 virtual SSLHostState* GetSSLHostState() = 0; | 143 virtual SSLHostState* GetSSLHostState() = 0; |
| 139 | 144 |
| 140 // Retrieves a pointer to the ForceTLStSate associated with this profile. | 145 // Retrieves a pointer to the ForceTLStSate associated with this profile. |
| 141 // The ForceTLSState is lazily created the first time that this method is | 146 // The ForceTLSState is lazily created the first time that this method is |
| 142 // called. | 147 // called. |
| 143 virtual net::ForceTLSState* GetForceTLSState() = 0; | 148 virtual net::ForceTLSState* GetForceTLSState() = 0; |
| 144 | 149 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 virtual bool IsOffTheRecord(); | 333 virtual bool IsOffTheRecord(); |
| 329 virtual Profile* GetOffTheRecordProfile(); | 334 virtual Profile* GetOffTheRecordProfile(); |
| 330 virtual void DestroyOffTheRecordProfile(); | 335 virtual void DestroyOffTheRecordProfile(); |
| 331 virtual Profile* GetOriginalProfile(); | 336 virtual Profile* GetOriginalProfile(); |
| 332 virtual VisitedLinkMaster* GetVisitedLinkMaster(); | 337 virtual VisitedLinkMaster* GetVisitedLinkMaster(); |
| 333 virtual UserScriptMaster* GetUserScriptMaster(); | 338 virtual UserScriptMaster* GetUserScriptMaster(); |
| 334 virtual SSLHostState* GetSSLHostState(); | 339 virtual SSLHostState* GetSSLHostState(); |
| 335 virtual net::ForceTLSState* GetForceTLSState(); | 340 virtual net::ForceTLSState* GetForceTLSState(); |
| 336 virtual ExtensionsService* GetExtensionsService(); | 341 virtual ExtensionsService* GetExtensionsService(); |
| 337 virtual ExtensionProcessManager* GetExtensionProcessManager(); | 342 virtual ExtensionProcessManager* GetExtensionProcessManager(); |
| 343 virtual ExtensionMessageService* GetExtensionMessageService(); |
| 338 virtual HistoryService* GetHistoryService(ServiceAccessType sat); | 344 virtual HistoryService* GetHistoryService(ServiceAccessType sat); |
| 339 virtual WebDataService* GetWebDataService(ServiceAccessType sat); | 345 virtual WebDataService* GetWebDataService(ServiceAccessType sat); |
| 340 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); | 346 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); |
| 341 virtual PrefService* GetPrefs(); | 347 virtual PrefService* GetPrefs(); |
| 342 virtual TemplateURLModel* GetTemplateURLModel(); | 348 virtual TemplateURLModel* GetTemplateURLModel(); |
| 343 virtual TemplateURLFetcher* GetTemplateURLFetcher(); | 349 virtual TemplateURLFetcher* GetTemplateURLFetcher(); |
| 344 virtual DownloadManager* GetDownloadManager(); | 350 virtual DownloadManager* GetDownloadManager(); |
| 345 virtual void InitThemes(); | 351 virtual void InitThemes(); |
| 346 virtual void SetTheme(Extension* extension); | 352 virtual void SetTheme(Extension* extension); |
| 347 virtual void SetNativeTheme(); | 353 virtual void SetNativeTheme(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 void InitializeSpellChecker(bool need_to_broadcast); | 412 void InitializeSpellChecker(bool need_to_broadcast); |
| 407 | 413 |
| 408 NotificationRegistrar registrar_; | 414 NotificationRegistrar registrar_; |
| 409 | 415 |
| 410 FilePath path_; | 416 FilePath path_; |
| 411 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; | 417 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; |
| 412 scoped_ptr<VisitedLinkMaster> visited_link_master_; | 418 scoped_ptr<VisitedLinkMaster> visited_link_master_; |
| 413 scoped_refptr<ExtensionsService> extensions_service_; | 419 scoped_refptr<ExtensionsService> extensions_service_; |
| 414 scoped_refptr<UserScriptMaster> user_script_master_; | 420 scoped_refptr<UserScriptMaster> user_script_master_; |
| 415 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 421 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 422 scoped_refptr<ExtensionMessageService> extension_message_service_; |
| 416 scoped_ptr<SSLHostState> ssl_host_state_; | 423 scoped_ptr<SSLHostState> ssl_host_state_; |
| 417 scoped_ptr<net::ForceTLSState> force_tls_state_; | 424 scoped_ptr<net::ForceTLSState> force_tls_state_; |
| 418 scoped_ptr<PrefService> prefs_; | 425 scoped_ptr<PrefService> prefs_; |
| 419 scoped_refptr<ThumbnailStore> thumbnail_store_; | 426 scoped_refptr<ThumbnailStore> thumbnail_store_; |
| 420 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; | 427 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |
| 421 scoped_ptr<TemplateURLModel> template_url_model_; | 428 scoped_ptr<TemplateURLModel> template_url_model_; |
| 422 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 429 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
| 423 scoped_refptr<WebResourceService> web_resource_service_; | 430 scoped_refptr<WebResourceService> web_resource_service_; |
| 424 | 431 |
| 425 #ifdef CHROME_PERSONALIZATION | 432 #ifdef CHROME_PERSONALIZATION |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 #endif | 490 #endif |
| 484 | 491 |
| 485 // This struct is used to pass the spellchecker object through the notification | 492 // This struct is used to pass the spellchecker object through the notification |
| 486 // NOTIFY_SPELLCHECKER_REINITIALIZED. This is used as the details for the | 493 // NOTIFY_SPELLCHECKER_REINITIALIZED. This is used as the details for the |
| 487 // notification service. | 494 // notification service. |
| 488 struct SpellcheckerReinitializedDetails { | 495 struct SpellcheckerReinitializedDetails { |
| 489 scoped_refptr<SpellChecker> spellchecker; | 496 scoped_refptr<SpellChecker> spellchecker; |
| 490 }; | 497 }; |
| 491 | 498 |
| 492 #endif // CHROME_BROWSER_PROFILE_H_ | 499 #endif // CHROME_BROWSER_PROFILE_H_ |
| OLD | NEW |