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

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

Issue 221873005: Some cleanup of WallpaperManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Compilation fix. Created 6 years, 8 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.h
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h
index 2d2399b1ce9d095bdc981a182c6ec6aa9c0401a7..e80b13b9aca6690826a2a460955ff186d9ff7ae7 100644
--- a/chrome/browser/chromeos/login/user.h
+++ b/chrome/browser/chromeos/login/user.h
@@ -108,11 +108,11 @@ class User {
static const int kInvalidImageIndex = -3;
enum WallpaperType {
- DAILY = 0,
- CUSTOMIZED = 1,
- DEFAULT = 2,
+ /* DAILY = 0 */ // Removed. Do not re-use the id!
+ CUSTOMIZED = 1, // Selected by user.
+ DEFAULT = 2, // Default.
/* UNKNOWN = 3 */ // Removed. Do not re-use the id!
- ONLINE = 4,
+ ONLINE = 4, // WallpaperInfo.file denotes an URL.
POLICY = 5, // Controlled by policy, can't be changed by the user.
WALLPAPER_TYPE_COUNT = 6
};
« no previous file with comments | « chrome/browser/chromeos/extensions/wallpaper_private_api.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