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..2d58c930f8ee30394d424a7ad29b45af3b3a09ca 100644 |
--- a/chrome/browser/profiles/profile_impl.h |
+++ b/chrome/browser/profiles/profile_impl.h |
@@ -165,8 +165,11 @@ class ProfileImpl : public Profile { |
// Does final initialization. Should be called after prefs were loaded. |
void DoFinalInit(); |
+ // Switch locale (when possible) and proceed to OnLocaleReady(). |
+ void OnPrefsLoaded(CreateMode create_mode, bool success); |
+ |
// Does final prefs initialization and calls Init(). |
- void OnPrefsLoaded(bool success); |
+ void OnLocaleReady(); |
#if defined(ENABLE_SESSION_SERVICE) |
void StopCreateSessionServiceTimer(); |