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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry_unittest.cc

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Fixed win compile error by implementing GetMTPStorageInfoFromDeviceId in TestStorageNotifi… Created 7 years, 11 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/media_gallery/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
index a627398250b29e3e3bf1a10a0be58d866b0e8a3c..1a5e4d6c954601b57f79739e571a6a1f7bbe8038 100644
--- a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
@@ -823,7 +823,13 @@ TEST_F(MediaFileSystemRegistryTest, GalleryNameDefault) {
}
}
-#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
+#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) && !defined(OS_WIN)
+// TODO(kmadhusu) : On Windows, this test depends on
+// RemovableDeviceNotificationsWindowWin to get the attached MTP device
+// storage details. Enable this test after refactoring
+// removable_device_notifications_window_win_unittest.cc to share the
+// mock classes (TestRemovableDeviceNotificationsWindowWin,
+// TestPortableDeviceWatcherWin and TestVolumeMountWatcherWin).
TEST_F(MediaFileSystemRegistryTest, GalleryNameMTP) {
FSInfoMap galleries_info;
InitForGalleriesInfoTest(&galleries_info);

Powered by Google App Engine
This is Rietveld 408576698