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 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class Time; | 15 class Time; |
| 16 } | 16 } |
| 17 | 17 |
| 18 #if defined(OS_CHROMEOS) | 18 #if defined(OS_CHROMEOS) |
| 19 namespace chromeos { | 19 namespace chromeos { |
| 20 class EnterpriseExtensionObserver; | 20 class EnterpriseExtensionObserver; |
| 21 class ProxyConfigServiceImpl; | 21 class ProxyConfigServiceImpl; |
|
kuan
2011/02/18 16:29:31
is this still needed?
battre
2011/02/21 17:27:58
Done.
| |
| 22 } | 22 } |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 namespace fileapi { | 25 namespace fileapi { |
| 26 class FileSystemContext; | 26 class FileSystemContext; |
| 27 class SandboxedFileSystemContext; | 27 class SandboxedFileSystemContext; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace history { | 30 namespace history { |
| 31 class TopSites; | 31 class TopSites; |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 513 // From login screen. | 513 // From login screen. |
| 514 APP_LOCALE_CHANGED_VIA_LOGIN, | 514 APP_LOCALE_CHANGED_VIA_LOGIN, |
| 515 // Source unknown. | 515 // Source unknown. |
| 516 APP_LOCALE_CHANGED_VIA_UNKNOWN | 516 APP_LOCALE_CHANGED_VIA_UNKNOWN |
| 517 }; | 517 }; |
| 518 | 518 |
| 519 // Changes application locale for a profile. | 519 // Changes application locale for a profile. |
| 520 virtual void ChangeAppLocale( | 520 virtual void ChangeAppLocale( |
| 521 const std::string& locale, AppLocaleChangedVia via) = 0; | 521 const std::string& locale, AppLocaleChangedVia via) = 0; |
| 522 | 522 |
| 523 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | |
| 524 virtual chromeos::ProxyConfigServiceImpl* | |
| 525 GetChromeOSProxyConfigServiceImpl() = 0; | |
| 526 | |
| 527 // Creates ChromeOS's EnterpriseExtensionListener. | 523 // Creates ChromeOS's EnterpriseExtensionListener. |
| 528 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; | 524 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; |
| 529 | 525 |
| 530 // Initializes Chrome OS's preferences. | 526 // Initializes Chrome OS's preferences. |
| 531 virtual void InitChromeOSPreferences() = 0; | 527 virtual void InitChromeOSPreferences() = 0; |
| 532 | |
| 533 #endif // defined(OS_CHROMEOS) | 528 #endif // defined(OS_CHROMEOS) |
| 534 | 529 |
| 535 // Returns the helper object that provides the proxy configuration service | 530 // Returns the helper object that provides the proxy configuration service |
| 536 // access to the the proxy configuration possibly defined by preferences. | 531 // access to the the proxy configuration possibly defined by preferences. |
| 537 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; | 532 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; |
| 538 | 533 |
| 539 // Returns the PrerenderManager used to prerender entire webpages for this | 534 // Returns the PrerenderManager used to prerender entire webpages for this |
| 540 // profile. | 535 // profile. |
| 541 virtual prerender::PrerenderManager* GetPrerenderManager() = 0; | 536 virtual prerender::PrerenderManager* GetPrerenderManager() = 0; |
| 542 | 537 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 590 bool restored_last_session_; | 585 bool restored_last_session_; |
| 591 | 586 |
| 592 // Accessibility events will only be propagated when the pause | 587 // Accessibility events will only be propagated when the pause |
| 593 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 588 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 594 // increment and decrement the level, respectively, rather than set it to | 589 // increment and decrement the level, respectively, rather than set it to |
| 595 // true or false, so that calls can be nested. | 590 // true or false, so that calls can be nested. |
| 596 int accessibility_pause_level_; | 591 int accessibility_pause_level_; |
| 597 }; | 592 }; |
| 598 | 593 |
| 599 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 594 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |