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

Unified Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h

Issue 1886653002: Remove WallpaperManager dependency on Cryptohome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase (raw_salt_ is now properly set). Created 4 years, 8 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/users/wallpaper/wallpaper_manager.h
diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
index b277c10be9dba1ba47fbf25a411ae60c096bc086..8a93346bf17b7db29ac8e9411a2523fdc69ec5b3 100644
--- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
+++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
@@ -128,9 +128,9 @@ class WallpaperManager
// Returns queue size.
size_t GetPendingListSizeForTesting() const override;
- // Returns wallpaper files id for the user.
+ // Returns wallpaper files id for the |account_id|.
wallpaper::WallpaperFilesId GetFilesId(
- const user_manager::User& user) const override;
+ const AccountId& account_id) const override;
// Overridden from user_manager::UserManager::UserSessionStateObserver:
void UserChangedChildStatus(user_manager::User* user) override;
@@ -157,15 +157,6 @@ class WallpaperManager
const AccountId& account_id,
std::unique_ptr<user_manager::UserImage> user_image);
- // Calls SetCustomWallpaper() with |wallpaper_files_id_str| received from
- // cryptohome.
- void SetCustomWallpaperOnSanitizedUsername(
- const AccountId& account_id,
- const gfx::ImageSkia& image,
- bool update_wallpaper,
- bool cryptohome_success,
- const std::string& wallpaper_files_id_str);
-
// WallpaperManagerBase overrides:
void InitializeRegisteredDeviceWallpaper() override;
bool GetUserWallpaperInfo(const AccountId& account_id,

Powered by Google App Engine
This is Rietveld 408576698