| Index: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc
|
| diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc
|
| index d7fd9d1ff0aae12fefc70af5be7f578e323cb00b..4e8b7f61e68bceaedf050c0a20b4c289404746c8 100644
|
| --- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc
|
| +++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc
|
| @@ -82,8 +82,10 @@ const char kNewWallpaperLayoutNodeName[] = "layout";
|
| const char kNewWallpaperLocationNodeName[] = "file";
|
| const char kNewWallpaperTypeNodeName[] = "type";
|
|
|
| +#if !defined(USE_ATHENA)
|
| // Maximum number of wallpapers cached by CacheUsersWallpapers().
|
| const int kMaxWallpapersToCache = 3;
|
| +#endif
|
|
|
| // Maximum number of entries in WallpaperManager::last_load_times_ .
|
| const size_t kLastLoadsStatsMsMaxSize = 4;
|
| @@ -1301,6 +1303,7 @@ bool WallpaperManager::GetWallpaperFromCache(const std::string& user_id,
|
| }
|
|
|
| void WallpaperManager::CacheUsersWallpapers() {
|
| +#if !defined(USE_ATHENA)
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| user_manager::UserList users = user_manager::UserManager::Get()->GetUsers();
|
|
|
| @@ -1315,6 +1318,7 @@ void WallpaperManager::CacheUsersWallpapers() {
|
| CacheUserWallpaper(user_id);
|
| }
|
| }
|
| +#endif
|
| }
|
|
|
| void WallpaperManager::CacheUserWallpaper(const std::string& user_id) {
|
|
|