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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 virtual void ChangeAppLocale( | 516 virtual void ChangeAppLocale( |
517 const std::string& locale, AppLocaleChangedVia via) = 0; | 517 const std::string& locale, AppLocaleChangedVia via) = 0; |
518 | 518 |
519 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | 519 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
520 virtual chromeos::ProxyConfigServiceImpl* | 520 virtual chromeos::ProxyConfigServiceImpl* |
521 GetChromeOSProxyConfigServiceImpl() = 0; | 521 GetChromeOSProxyConfigServiceImpl() = 0; |
522 | 522 |
523 // Creates ChromeOS's EnterpriseExtensionListener. | 523 // Creates ChromeOS's EnterpriseExtensionListener. |
524 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; | 524 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; |
525 | 525 |
| 526 // Initializes Chrome OS's preferences. |
| 527 virtual void InitChromeOSPreferences() = 0; |
| 528 |
526 #endif // defined(OS_CHROMEOS) | 529 #endif // defined(OS_CHROMEOS) |
527 | 530 |
528 // Returns the helper object that provides the proxy configuration service | 531 // Returns the helper object that provides the proxy configuration service |
529 // access to the the proxy configuration possibly defined by preferences. | 532 // access to the the proxy configuration possibly defined by preferences. |
530 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; | 533 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; |
531 | 534 |
532 // Returns the PrerenderManager used to prerender entire webpages for this | 535 // Returns the PrerenderManager used to prerender entire webpages for this |
533 // profile. | 536 // profile. |
534 virtual PrerenderManager* GetPrerenderManager() = 0; | 537 virtual PrerenderManager* GetPrerenderManager() = 0; |
535 | 538 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 bool restored_last_session_; | 586 bool restored_last_session_; |
584 | 587 |
585 // Accessibility events will only be propagated when the pause | 588 // Accessibility events will only be propagated when the pause |
586 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 589 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
587 // increment and decrement the level, respectively, rather than set it to | 590 // increment and decrement the level, respectively, rather than set it to |
588 // true or false, so that calls can be nested. | 591 // true or false, so that calls can be nested. |
589 int accessibility_pause_level_; | 592 int accessibility_pause_level_; |
590 }; | 593 }; |
591 | 594 |
592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 595 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |