Index: chrome/common/chrome_paths.cc |
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
index ba7970e1f68ccc83effb7e6c8a907ce1e9a47d0b..9409bd4ee0880443991e897ca210eae8eded5d27 100644 |
--- a/chrome/common/chrome_paths.cc |
+++ b/chrome/common/chrome_paths.cc |
@@ -325,6 +325,13 @@ bool PathProvider(int key, FilePath* result) { |
cur = cur.Append(FILE_PATH_LITERAL("resources")) |
.Append(FILE_PATH_LITERAL("extension")); |
break; |
+#if defined(OS_CHROMEOS) |
+ case chrome::DIR_CHROMEOS_WALLPAPERS: |
+ if (!PathService::Get(chrome::DIR_USER_DATA, &cur)) |
+ return false; |
+ cur = cur.Append(FILE_PATH_LITERAL("wallpapers")); |
+ break; |
+#endif |
// The following are only valid in the development environment, and |
// will fail if executed from an installed executable (because the |
// generated path won't exist). |