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

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: Fix compile 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
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c53e43d92e5a801dee6c108060841f5411149764 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -110,14 +110,6 @@ class UserManager {
// Indicates that a user just logged in as ephemeral.
virtual void EphemeralUserLoggedIn(const std::string& email) = 0;
- // Initializes wallpaper. If logged in, loads user's wallpaper. If not logged
- // in, uses a solid color wallpaper. If logged in as a stub user, uses an
- // 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 +166,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 +190,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
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698