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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
479 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 479 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
480 | 480 |
481 // Returns the PromoCounter for Instant, or NULL if not applicable. | 481 // Returns the PromoCounter for Instant, or NULL if not applicable. |
482 virtual PromoCounter* GetInstantPromoCounter() = 0; | 482 virtual PromoCounter* GetInstantPromoCounter() = 0; |
483 | 483 |
484 // Gets the policy context associated with this profile. | 484 // Gets the policy context associated with this profile. |
485 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; | 485 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; |
486 | 486 |
487 #if defined(OS_CHROMEOS) | 487 #if defined(OS_CHROMEOS) |
488 // Changes application locale. | 488 // Changes application locale. |
489 // "Keep local" means that changes should not be propagated to other devices. | 489 // "Keep local" means that changes should not be propagated to other devices. |
Nikita (slow)
2011/01/25 14:35:31
nit: update comment
Denis Lagno
2011/01/25 15:46:43
Done.
| |
490 virtual void ChangeApplicationLocale( | 490 virtual void ChangeApplicationLocale(const std::string& locale) = 0; |
491 const std::string& locale, bool keep_local) = 0; | |
492 | 491 |
493 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | 492 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
494 virtual chromeos::ProxyConfigServiceImpl* | 493 virtual chromeos::ProxyConfigServiceImpl* |
495 GetChromeOSProxyConfigServiceImpl() = 0; | 494 GetChromeOSProxyConfigServiceImpl() = 0; |
496 | 495 |
497 // Creates ChromeOS's EnterpriseExtensionListener. | 496 // Creates ChromeOS's EnterpriseExtensionListener. |
498 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; | 497 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; |
499 | 498 |
500 #endif // defined(OS_CHROMEOS) | 499 #endif // defined(OS_CHROMEOS) |
501 | 500 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
552 bool restored_last_session_; | 551 bool restored_last_session_; |
553 | 552 |
554 // Accessibility events will only be propagated when the pause | 553 // Accessibility events will only be propagated when the pause |
555 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 554 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
556 // increment and decrement the level, respectively, rather than set it to | 555 // increment and decrement the level, respectively, rather than set it to |
557 // true or false, so that calls can be nested. | 556 // true or false, so that calls can be nested. |
558 int accessibility_pause_level_; | 557 int accessibility_pause_level_; |
559 }; | 558 }; |
560 | 559 |
561 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 560 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |