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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_display.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: Update after review. 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/chromeos/login/ui/webui_login_display.cc
diff --git a/chrome/browser/chromeos/login/ui/webui_login_display.cc b/chrome/browser/chromeos/login/ui/webui_login_display.cc
index 36ca55a85ac38f8875e861efc1f63a9fef71ca82..f6fab4e420c412280811131df19fdb2c4780580f 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_display.cc
+++ b/chrome/browser/chromeos/login/ui/webui_login_display.cc
@@ -232,13 +232,12 @@ void WebUILoginDisplay::MigrateUserData(const std::string& old_password) {
delegate_->MigrateUserData(old_password);
}
-void WebUILoginDisplay::LoadWallpaper(const std::string& username) {
- WallpaperManager::Get()->SetUserWallpaperDelayed(username);
+void WebUILoginDisplay::LoadWallpaper(const AccountId& account_id) {
+ WallpaperManager::Get()->SetUserWallpaperDelayed(account_id);
}
void WebUILoginDisplay::LoadSigninWallpaper() {
- WallpaperManager::Get()->SetDefaultWallpaperDelayed(
- login::SignInAccountId().GetUserEmail());
+ WallpaperManager::Get()->SetDefaultWallpaperDelayed(login::SignInAccountId());
}
void WebUILoginDisplay::OnSigninScreenReady() {

Powered by Google App Engine
This is Rietveld 408576698