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

Unified Diff: components/wallpaper/wallpaper_manager_base.h

Issue 2772973003: Chrome OS: revert the device wallpaper change within a user session. (Closed)
Patch Set: Created 3 years, 9 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: components/wallpaper/wallpaper_manager_base.h
diff --git a/components/wallpaper/wallpaper_manager_base.h b/components/wallpaper/wallpaper_manager_base.h
index 2902fab69d4cff531d2e2c0a68ccfe7b8871541c..88601cc801e5ad5ce87d5e76e460f08e75e5e7b9 100644
--- a/components/wallpaper/wallpaper_manager_base.h
+++ b/components/wallpaper/wallpaper_manager_base.h
@@ -359,12 +359,8 @@ class WALLPAPER_EXPORT WallpaperManagerBase {
// Ruturns files identifier for the |account_id|.
virtual WallpaperFilesId GetFilesId(const AccountId& account_id) const = 0;
- // If the device is enterprise managed and we're at the login screen, set the
- // device wallpaper as the login screen wallpaper. If the device is enterprise
- // managed and we're in a user session, only set the device wallpaper if there
- // is no user policy wallpaper and the user hasn't changed the default or the
- // device wallpaper. Returns true if the device wallpaper should be set as the
- // wallpaper, otherwise returns false.
+ // If the device is enterprise managed and the device wallpaper policy exists,
+ // set the device wallpaper as the login screen wallpaper.
virtual bool SetDeviceWallpaperIfApplicable(const AccountId& account_id) = 0;
protected:
« no previous file with comments | « chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc ('k') | components/wallpaper/wallpaper_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698