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

Unified Diff: chrome/browser/chromeos/background/ash_user_wallpaper_delegate.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
« no previous file with comments | « no previous file | chrome/browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
diff --git a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
index 10dd3e1527937329e9c78a5d67182cd47d9ca6b3..8fb24246ea41c0d9fbeae5e82808fe1833b8a996 100644
--- a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
+++ b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
@@ -109,7 +109,8 @@ class UserWallpaperDelegate : public ash::UserWallpaperDelegate {
user_manager::UserManager::Get()->GetActiveUser();
if (!user)
return false;
- if (chromeos::WallpaperManager::Get()->IsPolicyControlled(user->email()))
+ if (chromeos::WallpaperManager::Get()->IsPolicyControlled(
+ user->GetAccountId()))
return false;
return true;
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698