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 14 matching lines...) Expand all Loading... | |
25 namespace history { | 25 namespace history { |
26 class TopSites; | 26 class TopSites; |
27 } | 27 } |
28 | 28 |
29 namespace net { | 29 namespace net { |
30 class TransportSecurityState; | 30 class TransportSecurityState; |
31 class SSLConfigService; | 31 class SSLConfigService; |
32 } | 32 } |
33 | 33 |
34 namespace policy { | 34 namespace policy { |
35 class ProfilePolicyContext; | 35 class ProfilePolicyConnector; |
36 } | 36 } |
37 | 37 |
38 namespace webkit_database { | 38 namespace webkit_database { |
39 class DatabaseTracker; | 39 class DatabaseTracker; |
40 } | 40 } |
41 | 41 |
42 namespace fileapi { | 42 namespace fileapi { |
43 class SandboxedFileSystemContext; | 43 class SandboxedFileSystemContext; |
44 } | 44 } |
45 | 45 |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
487 // Returns a pointer to the ChromeBlobStorageContext instance for this | 487 // Returns a pointer to the ChromeBlobStorageContext instance for this |
488 // profile. | 488 // profile. |
489 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 489 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
490 | 490 |
491 // Returns the IO-thread-accessible profile data for this profile. | 491 // Returns the IO-thread-accessible profile data for this profile. |
492 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 492 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
493 | 493 |
494 // Returns the PromoCounter for Instant, or NULL if not applicable. | 494 // Returns the PromoCounter for Instant, or NULL if not applicable. |
495 virtual PromoCounter* GetInstantPromoCounter() = 0; | 495 virtual PromoCounter* GetInstantPromoCounter() = 0; |
496 | 496 |
497 // Gets the policy context associated with this profile. | 497 // Gets the policy context associated with this profile. |
danno
2011/02/15 12:27:15
connector?
Jakob Kummerow
2011/02/21 12:12:15
Done.
| |
498 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; | 498 virtual policy::ProfilePolicyConnector* GetPolicyConnector() = 0; |
499 | 499 |
500 #if defined(OS_CHROMEOS) | 500 #if defined(OS_CHROMEOS) |
501 enum AppLocaleChangedVia { | 501 enum AppLocaleChangedVia { |
502 // Caused by chrome://settings change. | 502 // Caused by chrome://settings change. |
503 APP_LOCALE_CHANGED_VIA_SETTINGS, | 503 APP_LOCALE_CHANGED_VIA_SETTINGS, |
504 // Locale has been reverted via LocaleChangeGuard. | 504 // Locale has been reverted via LocaleChangeGuard. |
505 APP_LOCALE_CHANGED_VIA_REVERT, | 505 APP_LOCALE_CHANGED_VIA_REVERT, |
506 // From login screen. | 506 // From login screen. |
507 APP_LOCALE_CHANGED_VIA_LOGIN, | 507 APP_LOCALE_CHANGED_VIA_LOGIN, |
508 // Source unknown. | 508 // Source unknown. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
580 bool restored_last_session_; | 580 bool restored_last_session_; |
581 | 581 |
582 // Accessibility events will only be propagated when the pause | 582 // Accessibility events will only be propagated when the pause |
583 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 583 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
584 // increment and decrement the level, respectively, rather than set it to | 584 // increment and decrement the level, respectively, rather than set it to |
585 // true or false, so that calls can be nested. | 585 // true or false, so that calls can be nested. |
586 int accessibility_pause_level_; | 586 int accessibility_pause_level_; |
587 }; | 587 }; |
588 | 588 |
589 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 589 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |