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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 namespace speech_input { | 47 namespace speech_input { |
48 class SpeechRecognizer; | 48 class SpeechRecognizer; |
49 } | 49 } |
50 | 50 |
51 class AutocompleteClassifier; | 51 class AutocompleteClassifier; |
52 class BookmarkModel; | 52 class BookmarkModel; |
53 class BrowserSignin; | 53 class BrowserSignin; |
54 class ChromeAppCacheService; | 54 class ChromeAppCacheService; |
55 class ChromeURLDataManager; | 55 class ChromeURLDataManager; |
| 56 class CookieContentSettings; |
56 class Extension; | 57 class Extension; |
57 class ExtensionDevToolsManager; | 58 class ExtensionDevToolsManager; |
58 class ExtensionEventRouter; | 59 class ExtensionEventRouter; |
59 class ExtensionInfoMap; | 60 class ExtensionInfoMap; |
60 class ExtensionMessageService; | 61 class ExtensionMessageService; |
61 class ExtensionPrefValueMap; | 62 class ExtensionPrefValueMap; |
62 class ExtensionProcessManager; | 63 class ExtensionProcessManager; |
63 class ExtensionService; | 64 class ExtensionService; |
64 class ExtensionSpecialStoragePolicy; | 65 class ExtensionSpecialStoragePolicy; |
65 class FaviconService; | 66 class FaviconService; |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 virtual void UnregisterExtensionWithRequestContexts( | 383 virtual void UnregisterExtensionWithRequestContexts( |
383 const std::string& extension_id, | 384 const std::string& extension_id, |
384 const extension_misc::UnloadedExtensionReason) {} | 385 const extension_misc::UnloadedExtensionReason) {} |
385 | 386 |
386 // Returns the SSLConfigService for this profile. | 387 // Returns the SSLConfigService for this profile. |
387 virtual net::SSLConfigService* GetSSLConfigService() = 0; | 388 virtual net::SSLConfigService* GetSSLConfigService() = 0; |
388 | 389 |
389 // Returns the Hostname <-> Content settings map for this profile. | 390 // Returns the Hostname <-> Content settings map for this profile. |
390 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; | 391 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; |
391 | 392 |
| 393 // Returns the cookie content settings for this profile. |
| 394 virtual CookieContentSettings* GetCookieContentSettings() = 0; |
| 395 |
392 // Returns the user style sheet watcher. | 396 // Returns the user style sheet watcher. |
393 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0; | 397 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0; |
394 | 398 |
395 // Returns the find bar state for this profile. The find bar state is lazily | 399 // Returns the find bar state for this profile. The find bar state is lazily |
396 // created the first time that this method is called. | 400 // created the first time that this method is called. |
397 virtual FindBarState* GetFindBarState() = 0; | 401 virtual FindBarState* GetFindBarState() = 0; |
398 | 402 |
399 // Returns true if this profile has a profile sync service. | 403 // Returns true if this profile has a profile sync service. |
400 virtual bool HasProfileSyncService() const = 0; | 404 virtual bool HasProfileSyncService() const = 0; |
401 | 405 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 struct hash<Profile*> { | 589 struct hash<Profile*> { |
586 std::size_t operator()(Profile* const& p) const { | 590 std::size_t operator()(Profile* const& p) const { |
587 return reinterpret_cast<std::size_t>(p); | 591 return reinterpret_cast<std::size_t>(p); |
588 } | 592 } |
589 }; | 593 }; |
590 | 594 |
591 } // namespace __gnu_cxx | 595 } // namespace __gnu_cxx |
592 #endif | 596 #endif |
593 | 597 |
594 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 598 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |