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

Unified Diff: chrome/browser/profiles/profile.h

Issue 23095006: If user profile doesn't contain language setting, default to his Google account settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix shared build. Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 3af9eeb3c6176af068cef908cb168cc99dd79ed1..27fc5e5a357d18aa3fd65da0b5933840a5d4dd75 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -293,6 +293,9 @@ class Profile : public content::BrowserContext {
virtual void ChangeAppLocale(
const std::string& locale, AppLocaleChangedVia via) = 0;
+ // Mark profile creation complete (i.e. initial load complete).
+ virtual void MarkCreated() = 0;
+
// Called after login.
virtual void OnLogin() = 0;
@@ -301,6 +304,12 @@ class Profile : public content::BrowserContext {
// Initializes Chrome OS's preferences.
virtual void InitChromeOSPreferences() = 0;
+
+ // Select "best match" locale.
+ virtual void RespectLocalePreference() = 0;
+
+ // Sets locale to G+ if use preferences are not loaded.
+ virtual void SetGPlusProfileLocale(const std::string& gplus_locale) = 0;
#endif // defined(OS_CHROMEOS)
// Returns the helper object that provides the proxy configuration service

Powered by Google App Engine
This is Rietveld 408576698