Chromium Code Reviews| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 class GeolocationPermissionContext; | 71 class GeolocationPermissionContext; |
| 72 class HistoryService; | 72 class HistoryService; |
| 73 class HostContentSettingsMap; | 73 class HostContentSettingsMap; |
| 74 class HostZoomMap; | 74 class HostZoomMap; |
| 75 class NTPResourceCache; | 75 class NTPResourceCache; |
| 76 class NavigationController; | 76 class NavigationController; |
| 77 class PasswordStore; | 77 class PasswordStore; |
| 78 class PersonalDataManager; | 78 class PersonalDataManager; |
| 79 class PrefProxyConfigTracker; | 79 class PrefProxyConfigTracker; |
| 80 class PrefService; | 80 class PrefService; |
| 81 class PrintPreviewDataManager; | |
| 81 class ProfileSyncFactory; | 82 class ProfileSyncFactory; |
| 82 class ProfileSyncService; | 83 class ProfileSyncService; |
| 83 class PromoCounter; | 84 class PromoCounter; |
| 84 class ProtocolHandlerRegistry; | 85 class ProtocolHandlerRegistry; |
| 85 class SQLitePersistentCookieStore; | 86 class SQLitePersistentCookieStore; |
| 86 class SSLConfigServiceManager; | 87 class SSLConfigServiceManager; |
| 87 class SSLHostState; | 88 class SSLHostState; |
| 88 class SpellCheckHost; | 89 class SpellCheckHost; |
| 89 class StatusTray; | 90 class StatusTray; |
| 90 class TemplateURLFetcher; | 91 class TemplateURLFetcher; |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 487 | 488 |
| 488 // Returns the IO-thread-accessible profile data for this profile. | 489 // Returns the IO-thread-accessible profile data for this profile. |
| 489 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 490 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
| 490 | 491 |
| 491 // Returns the PromoCounter for Instant, or NULL if not applicable. | 492 // Returns the PromoCounter for Instant, or NULL if not applicable. |
| 492 virtual PromoCounter* GetInstantPromoCounter() = 0; | 493 virtual PromoCounter* GetInstantPromoCounter() = 0; |
| 493 | 494 |
| 494 // Returns the ChromeURLDataManager for this profile. | 495 // Returns the ChromeURLDataManager for this profile. |
| 495 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0; | 496 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0; |
| 496 | 497 |
| 498 // Returns the PrintPreviewDataManager for this profile. | |
| 499 virtual PrintPreviewDataManager* GetPrintPreviewDataManager() = 0; | |
|
sky
2011/05/26 17:40:41
We're actively removing things like this from Prof
kmadhusu
2011/05/27 16:49:22
Discussed with Elliot regarding this and made code
| |
| 500 | |
| 497 #if defined(OS_CHROMEOS) | 501 #if defined(OS_CHROMEOS) |
| 498 enum AppLocaleChangedVia { | 502 enum AppLocaleChangedVia { |
| 499 // Caused by chrome://settings change. | 503 // Caused by chrome://settings change. |
| 500 APP_LOCALE_CHANGED_VIA_SETTINGS, | 504 APP_LOCALE_CHANGED_VIA_SETTINGS, |
| 501 // Locale has been reverted via LocaleChangeGuard. | 505 // Locale has been reverted via LocaleChangeGuard. |
| 502 APP_LOCALE_CHANGED_VIA_REVERT, | 506 APP_LOCALE_CHANGED_VIA_REVERT, |
| 503 // From login screen. | 507 // From login screen. |
| 504 APP_LOCALE_CHANGED_VIA_LOGIN, | 508 APP_LOCALE_CHANGED_VIA_LOGIN, |
| 505 // Source unknown. | 509 // Source unknown. |
| 506 APP_LOCALE_CHANGED_VIA_UNKNOWN | 510 APP_LOCALE_CHANGED_VIA_UNKNOWN |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 578 bool restored_last_session_; | 582 bool restored_last_session_; |
| 579 | 583 |
| 580 // Accessibility events will only be propagated when the pause | 584 // Accessibility events will only be propagated when the pause |
| 581 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 585 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 582 // increment and decrement the level, respectively, rather than set it to | 586 // increment and decrement the level, respectively, rather than set it to |
| 583 // true or false, so that calls can be nested. | 587 // true or false, so that calls can be nested. |
| 584 int accessibility_pause_level_; | 588 int accessibility_pause_level_; |
| 585 }; | 589 }; |
| 586 | 590 |
| 587 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 591 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |