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

Unified Diff: chrome/common/chrome_paths.cc

Issue 11348215: Make wallpaper picker manifest and thumbnails available when offline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment nits Created 8 years, 1 month 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/common/chrome_paths.cc
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index eaf894f785010be824355dc1be0950a695af4dc0..60e998191870085998a6318b89f4f512fc655207 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -376,6 +376,11 @@ bool PathProvider(int key, FilePath* result) {
return false;
cur = cur.Append(FILE_PATH_LITERAL("wallpapers"));
break;
+ case chrome::DIR_CHROMEOS_WALLPAPER_THUMBNAILS:
+ if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
+ return false;
+ cur = cur.Append(FILE_PATH_LITERAL("wallpaper_thumbnails"));
+ break;
case chrome::FILE_DEFAULT_APP_ORDER:
cur = FilePath(FILE_PATH_LITERAL(kDefaultAppOrderFileName));
break;

Powered by Google App Engine
This is Rietveld 408576698