Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: chrome/browser/profiles/profile.h

Issue 6248017: Do not use local override for language settings: always sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tidy up Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 // Returns the IO-thread-accessible profile data for this profile. 478 // Returns the IO-thread-accessible profile data for this profile.
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.
Nikita (slow) 2011/01/25 16:04:44 Please add cases when it's called. I was confused
Denis Lagno 2011/01/26 10:31:40 reasonable concern. I've made this method to be ca
489 // "Keep local" means that changes should not be propagated to other devices. 489 virtual void ChangeApplicationLocale(const std::string& locale) = 0;
490 virtual void ChangeApplicationLocale(
491 const std::string& locale, bool keep_local) = 0;
492 490
493 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. 491 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created.
494 virtual chromeos::ProxyConfigServiceImpl* 492 virtual chromeos::ProxyConfigServiceImpl*
495 GetChromeOSProxyConfigServiceImpl() = 0; 493 GetChromeOSProxyConfigServiceImpl() = 0;
496 494
497 // Creates ChromeOS's EnterpriseExtensionListener. 495 // Creates ChromeOS's EnterpriseExtensionListener.
498 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; 496 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0;
499 497
500 #endif // defined(OS_CHROMEOS) 498 #endif // defined(OS_CHROMEOS)
501 499
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 bool restored_last_session_; 550 bool restored_last_session_;
553 551
554 // Accessibility events will only be propagated when the pause 552 // Accessibility events will only be propagated when the pause
555 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 553 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
556 // increment and decrement the level, respectively, rather than set it to 554 // increment and decrement the level, respectively, rather than set it to
557 // true or false, so that calls can be nested. 555 // true or false, so that calls can be nested.
558 int accessibility_pause_level_; 556 int accessibility_pause_level_;
559 }; 557 };
560 558
561 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 559 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698