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

Unified Diff: components/user_manager/user.h

Issue 2572793003: [Chrome OS] Implement the device wallpaper policy. (Closed)
Patch Set: Rebase. Created 4 years 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/user_manager/user.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index c48fd6ebb836252c3a6acc9ce95b28714fd1ef0c..cce5f4fe201d9eb54be06d31ecf380cadcd93e8f 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -78,7 +78,10 @@ class USER_MANAGER_EXPORT User : public UserInfo {
ONLINE = 4, // WallpaperInfo.location denotes an URL.
POLICY = 5, // Controlled by policy, can't be changed by the user.
THIRDPARTY = 6, // Current wallpaper is set by a third party app.
- WALLPAPER_TYPE_COUNT = 7
+ DEVICE = 7, // Current wallpaper is the device policy controlled
+ // wallpaper. It shows on the login screen if the device
+ // is an enterprise managed device.
+ WALLPAPER_TYPE_COUNT = 8
};
// Returns true if user type has gaia account.
« no previous file with comments | « chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc ('k') | components/wallpaper/wallpaper_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698