| 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_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 class SandboxedFileSystemContext; | 34 class SandboxedFileSystemContext; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace history { | 37 namespace history { |
| 38 class TopSites; | 38 class TopSites; |
| 39 class ShortcutsBackend; | 39 class ShortcutsBackend; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace net { | 42 namespace net { |
| 43 class TransportSecurityState; | 43 class TransportSecurityState; |
| 44 class SpdyConfigService; |
| 44 class SSLConfigService; | 45 class SSLConfigService; |
| 45 } | 46 } |
| 46 | 47 |
| 47 namespace prerender { | 48 namespace prerender { |
| 48 class PrerenderManager; | 49 class PrerenderManager; |
| 49 } | 50 } |
| 50 | 51 |
| 51 namespace speech_input { | 52 namespace speech_input { |
| 52 class SpeechRecognizer; | 53 class SpeechRecognizer; |
| 53 } | 54 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 73 class PasswordStore; | 74 class PasswordStore; |
| 74 class PersonalDataManager; | 75 class PersonalDataManager; |
| 75 class PrefProxyConfigTracker; | 76 class PrefProxyConfigTracker; |
| 76 class PrefService; | 77 class PrefService; |
| 77 class ProfileSyncFactory; | 78 class ProfileSyncFactory; |
| 78 class ProfileSyncService; | 79 class ProfileSyncService; |
| 79 class PromoCounter; | 80 class PromoCounter; |
| 80 class PromoResourceService; | 81 class PromoResourceService; |
| 81 class ProtocolHandlerRegistry; | 82 class ProtocolHandlerRegistry; |
| 82 class SQLitePersistentCookieStore; | 83 class SQLitePersistentCookieStore; |
| 84 class SpdyConfigServiceManager; |
| 83 class SSLConfigServiceManager; | 85 class SSLConfigServiceManager; |
| 84 class SpellCheckHost; | 86 class SpellCheckHost; |
| 85 class TemplateURLFetcher; | 87 class TemplateURLFetcher; |
| 86 class TokenService; | 88 class TokenService; |
| 87 class TransportSecurityPersister; | 89 class TransportSecurityPersister; |
| 88 class UserScriptMaster; | 90 class UserScriptMaster; |
| 89 class UserStyleSheetWatcher; | 91 class UserStyleSheetWatcher; |
| 90 class VisitedLinkEventListener; | 92 class VisitedLinkEventListener; |
| 91 class VisitedLinkMaster; | 93 class VisitedLinkMaster; |
| 92 class WebDataService; | 94 class WebDataService; |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 virtual void RegisterExtensionWithRequestContexts( | 376 virtual void RegisterExtensionWithRequestContexts( |
| 375 const Extension* extension) {} | 377 const Extension* extension) {} |
| 376 | 378 |
| 377 // Called by the ExtensionService that lives in this profile. Lets the | 379 // Called by the ExtensionService that lives in this profile. Lets the |
| 378 // profile clean up its RequestContexts once all the listeners to the | 380 // profile clean up its RequestContexts once all the listeners to the |
| 379 // EXTENSION_UNLOADED notification have finished running. | 381 // EXTENSION_UNLOADED notification have finished running. |
| 380 virtual void UnregisterExtensionWithRequestContexts( | 382 virtual void UnregisterExtensionWithRequestContexts( |
| 381 const std::string& extension_id, | 383 const std::string& extension_id, |
| 382 const extension_misc::UnloadedExtensionReason) {} | 384 const extension_misc::UnloadedExtensionReason) {} |
| 383 | 385 |
| 386 // Returns the SpdyConfigService for this profile. |
| 387 virtual net::SpdyConfigService* GetSpdyConfigService() = 0; |
| 388 |
| 384 // Returns the SSLConfigService for this profile. | 389 // Returns the SSLConfigService for this profile. |
| 385 virtual net::SSLConfigService* GetSSLConfigService() = 0; | 390 virtual net::SSLConfigService* GetSSLConfigService() = 0; |
| 386 | 391 |
| 387 // Returns the Hostname <-> Content settings map for this profile. | 392 // Returns the Hostname <-> Content settings map for this profile. |
| 388 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; | 393 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; |
| 389 | 394 |
| 390 // Returns the user style sheet watcher. | 395 // Returns the user style sheet watcher. |
| 391 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0; | 396 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0; |
| 392 | 397 |
| 393 // Returns the find bar state for this profile. The find bar state is lazily | 398 // Returns the find bar state for this profile. The find bar state is lazily |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 struct hash<Profile*> { | 588 struct hash<Profile*> { |
| 584 std::size_t operator()(Profile* const& p) const { | 589 std::size_t operator()(Profile* const& p) const { |
| 585 return reinterpret_cast<std::size_t>(p); | 590 return reinterpret_cast<std::size_t>(p); |
| 586 } | 591 } |
| 587 }; | 592 }; |
| 588 | 593 |
| 589 } // namespace __gnu_cxx | 594 } // namespace __gnu_cxx |
| 590 #endif | 595 #endif |
| 591 | 596 |
| 592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 597 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |