Index: chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc |
diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc b/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc |
index 9016860409d3d00fcbe690b4a68b5a41982b1300..1a59f991ea023e3debe1d34d136d624be4b80b99 100644 |
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc |
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc |
@@ -340,6 +340,11 @@ class MediaGalleriesPlatformAppBrowserTest : public PlatformAppBrowserTest { |
.AppendASCII("common"); |
} |
+ base::FilePath GetWallpaperTestDataDir() const { |
+ return test_data_dir_.AppendASCII("api_test") |
+ .AppendASCII("wallpaper"); |
+ } |
+ |
int num_galleries() const { |
return ensure_media_directories_exists_->num_galleries(); |
} |
@@ -567,6 +572,7 @@ IN_PROC_BROWSER_TEST_F(MediaGalleriesPlatformAppBrowserTest, GetMetadata) { |
AddFileToSingleFakeGallery(media::GetTestDataFilePath("90rotation.mp4")); |
AddFileToSingleFakeGallery(media::GetTestDataFilePath("id3_png_test.mp3")); |
+ AddFileToSingleFakeGallery(GetWallpaperTestDataDir().AppendASCII("test.jpg")); |
base::ListValue custom_args; |
#if defined(USE_PROPRIETARY_CODECS) |