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

Unified Diff: chrome/browser/chromeos/login/user_manager.h

Issue 10832019: Speed up custom wallpaper switching time and wallpaper manager code refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 419d2a2bbbe3fa51eb37b149a26163909d754af8..97b2efa467598cbae3d6140a381350233b646c4d 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -115,9 +115,6 @@ class UserManager {
// empty wallpaper.
virtual void InitializeWallpaper() = 0;
- // Called when user pod with |email| is selected.
- virtual void UserSelected(const std::string& email) = 0;
-
// Called when browser session is started i.e. after
// browser_creator.LaunchBrowser(...) was called after user sign in.
// When user is at the image screen IsUserLoggedIn() will return true
@@ -174,12 +171,6 @@ class UserManager {
virtual std::string GetUserDisplayEmail(
const std::string& username) const = 0;
- // Sets |type| and |index| to the value saved in local state for logged in
- // user.
- virtual void GetLoggedInUserWallpaperProperties(User::WallpaperType* type,
- int* index,
- base::Time* last_modification_date) = 0;
-
// Saves |type| and |index| chose by logged in user to Local State.
virtual void SaveLoggedInUserWallpaperProperties(User::WallpaperType type,
int index) = 0;
@@ -204,14 +195,6 @@ class UserManager {
virtual void SaveUserImageFromFile(const std::string& username,
const FilePath& path) = 0;
- // Tries to load user image from disk; if successful, sets it for the user,
- // and updates Local State.
- virtual void SaveUserWallpaperFromFile(
- const std::string& username,
- const FilePath& path,
- ash::WallpaperLayout layout,
- base::WeakPtr<WallpaperDelegate> delegate) = 0;
-
// Sets profile image as user image for |username|, sends
// LOGIN_USER_IMAGE_CHANGED notification and updates Local State. If the user
// is not logged-in or the last |DownloadProfileImage| call has failed, a

Powered by Google App Engine
This is Rietveld 408576698