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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 1497973002: This CL replaces e-mail with AccountId in wallpaper manager code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index ef288e4acc87a5a17c5c013db8bfef4cf347a760..7726365b0f8dd576628344d8b73384cbc4150c84 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -744,7 +744,9 @@ void GaiaScreenHandler::ShowGaiaScreenIfReady() {
if (populated_email_.empty())
Delegate()->LoadSigninWallpaper();
else
- Delegate()->LoadWallpaper(populated_email_);
+ Delegate()->LoadWallpaper(
+ user_manager::UserManager::Get()->GetKnownUserAccountId(
+ populated_email_, std::string()));
stevenjb 2015/12/04 17:08:53 Also, FWIW, we seem to make a fair number of GetKn
stevenjb 2015/12/04 17:08:53 {}
Alexander Alekseev 2015/12/05 06:04:47 I hope most of calls are temporary and will be rem
Alexander Alekseev 2015/12/05 06:04:47 Done.
input_method::InputMethodManager* imm =
input_method::InputMethodManager::Get();

Powered by Google App Engine
This is Rietveld 408576698