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

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

Issue 1055863002: ChromeOS: switch UI language before apps are loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 5 years, 8 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_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 3765fc231b812a67fc95e633b2aa9fc4f4ff156e..86d70e6829bb48c4a69e360f0a394ba49e6328a1 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -165,9 +165,12 @@ class ProfileImpl : public Profile {
// Does final initialization. Should be called after prefs were loaded.
void DoFinalInit();
- // Does final prefs initialization and calls Init().
+ // Switch locale (when possible) and proceed to OnLocaleReady().
void OnPrefsLoaded(bool success);
+ // Does final prefs initialization and calls Init().
+ void OnLocaleReady();
+
#if defined(ENABLE_SESSION_SERVICE)
void StopCreateSessionServiceTimer();

Powered by Google App Engine
This is Rietveld 408576698