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 19 matching lines...) Expand all Loading... |
30 namespace history { | 30 namespace history { |
31 class TopSites; | 31 class TopSites; |
32 } | 32 } |
33 | 33 |
34 namespace net { | 34 namespace net { |
35 class TransportSecurityState; | 35 class TransportSecurityState; |
36 class SSLConfigService; | 36 class SSLConfigService; |
37 } | 37 } |
38 | 38 |
39 namespace policy { | 39 namespace policy { |
40 class ProfilePolicyContext; | 40 class ProfilePolicyConnector; |
41 } | 41 } |
42 | 42 |
43 namespace prerender { | 43 namespace prerender { |
44 class PrerenderManager; | 44 class PrerenderManager; |
45 } | 45 } |
46 | 46 |
47 namespace webkit_database { | 47 namespace webkit_database { |
48 class DatabaseTracker; | 48 class DatabaseTracker; |
49 } | 49 } |
50 | 50 |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 // Returns a pointer to the ChromeBlobStorageContext instance for this | 491 // Returns a pointer to the ChromeBlobStorageContext instance for this |
492 // profile. | 492 // profile. |
493 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 493 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
494 | 494 |
495 // Returns the IO-thread-accessible profile data for this profile. | 495 // Returns the IO-thread-accessible profile data for this profile. |
496 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 496 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
497 | 497 |
498 // Returns the PromoCounter for Instant, or NULL if not applicable. | 498 // Returns the PromoCounter for Instant, or NULL if not applicable. |
499 virtual PromoCounter* GetInstantPromoCounter() = 0; | 499 virtual PromoCounter* GetInstantPromoCounter() = 0; |
500 | 500 |
501 // Gets the policy context associated with this profile. | 501 // Gets the policy connector associated with this profile. |
502 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; | 502 virtual policy::ProfilePolicyConnector* GetPolicyConnector() = 0; |
503 | 503 |
504 // Returns the ChromeURLDataManager for this profile. | 504 // Returns the ChromeURLDataManager for this profile. |
505 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0; | 505 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0; |
506 | 506 |
507 #if defined(OS_CHROMEOS) | 507 #if defined(OS_CHROMEOS) |
508 enum AppLocaleChangedVia { | 508 enum AppLocaleChangedVia { |
509 // Caused by chrome://settings change. | 509 // Caused by chrome://settings change. |
510 APP_LOCALE_CHANGED_VIA_SETTINGS, | 510 APP_LOCALE_CHANGED_VIA_SETTINGS, |
511 // Locale has been reverted via LocaleChangeGuard. | 511 // Locale has been reverted via LocaleChangeGuard. |
512 APP_LOCALE_CHANGED_VIA_REVERT, | 512 APP_LOCALE_CHANGED_VIA_REVERT, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 bool restored_last_session_; | 590 bool restored_last_session_; |
591 | 591 |
592 // Accessibility events will only be propagated when the pause | 592 // Accessibility events will only be propagated when the pause |
593 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 593 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
594 // increment and decrement the level, respectively, rather than set it to | 594 // increment and decrement the level, respectively, rather than set it to |
595 // true or false, so that calls can be nested. | 595 // true or false, so that calls can be nested. |
596 int accessibility_pause_level_; | 596 int accessibility_pause_level_; |
597 }; | 597 }; |
598 | 598 |
599 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 599 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |