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

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

Issue 10459003: Load user custom wallpaper after browser crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix aura_shell_unittests Created 8 years, 6 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 e183b28c3cc9ccc6fa5d5d1163d4a300f6bc94a2..d6ac5a336287fc51fa529a43318e11ad960a269a 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -101,6 +101,11 @@ class UserManager {
// Indicates that a user just logged in as ephemeral.
virtual void EphemeralUserLoggedIn(const std::string& email) = 0;
+ // Loads logged in user wallpaper asynchronously and sets to current wallpaper
+ // after loaded. If not logged in or logged in as stub user, uses an empty
+ // wallpaper.
+ virtual void SetLoggedInUserWallpaper() = 0;
+
// Called when user pod with |email| is selected.
virtual void UserSelected(const std::string& email) = 0;
@@ -152,11 +157,6 @@ class UserManager {
virtual std::string GetUserDisplayEmail(
const std::string& username) const = 0;
- // Returns the index of the default wallpapers saved in local state for login
- // user if it is known (was previously set by |SaveWallpaperToLocalState|
- // call). Otherwise, returns the default wallpaper index.
- virtual int GetLoggedInUserWallpaperIndex() = 0;
-
// Sets |type| and |index| to the value saved in local state for logged in
// user.
virtual void GetLoggedInUserWallpaperProperties(User::WallpaperType* type,
« no previous file with comments | « chrome/browser/chromeos/login/mock_user_manager.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