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

Unified Diff: chrome/browser/chromeos/login/user_manager.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: Added comment on "list of preferred languages". Created 7 years, 3 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/chromeos/login/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 08b030002c5710609e0e53e8a1a44be58ce1b091..a9a1450d5bfcb6dbd4ac9c72a66b21ada6fd6d25 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -209,6 +209,11 @@ class UserManager {
virtual void SaveUserDisplayName(const std::string& username,
const string16& display_name) = 0;
+ // Updates data upon User Account download.
+ virtual void UpdateUserAccountData(const std::string& username,
+ const string16& display_name,
+ const std::string& locale) = 0;
+
// Returns the display name for user |username| if it is known (was
// previously set by a |SaveUserDisplayName| call).
// Otherwise, returns an empty string.

Powered by Google App Engine
This is Rietveld 408576698