| Index: chrome/browser/profiles/profile_impl.h
|
| diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
|
| index 14599cfec92cb79cb4e2af26c85ca935169651d6..e86f2fe8fc5b68398f750bf8b545e683ad9d0b20 100644
|
| --- a/chrome/browser/profiles/profile_impl.h
|
| +++ b/chrome/browser/profiles/profile_impl.h
|
| @@ -165,9 +165,15 @@ class ProfileImpl : public Profile {
|
| // Does final initialization. Should be called after prefs were loaded.
|
| void DoFinalInit();
|
|
|
| - // Does final prefs initialization and calls Init().
|
| + // Check |success| and proceed to SwitchUILanguage.
|
| void OnPrefsLoaded(bool success);
|
|
|
| + // Switches UI language if possible.
|
| + void SwitchUILanguage();
|
| +
|
| + // Does final prefs initialization and calls Init().
|
| + void OnLanguageSwitched();
|
| +
|
| #if defined(ENABLE_SESSION_SERVICE)
|
| void StopCreateSessionServiceTimer();
|
|
|
|
|