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

Unified Diff: chrome/browser/media_gallery/mtp_device_delegate_impl.h

Issue 11027051: MediaFileSystemRegistry unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile 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/browser/media_gallery/mtp_device_delegate_impl.h
diff --git a/chrome/browser/media_gallery/mtp_device_delegate_impl.h b/chrome/browser/media_gallery/mtp_device_delegate_impl.h
index 535d681a6c677aaccfb8b480119c41944d4dc3e9..47a7c6cd3d824ea6a7882df4c0054f56824cd2bb 100644
--- a/chrome/browser/media_gallery/mtp_device_delegate_impl.h
+++ b/chrome/browser/media_gallery/mtp_device_delegate_impl.h
@@ -8,9 +8,7 @@
#include "build/build_config.h"
#include "webkit/fileapi/media/mtp_device_file_system_config.h"
-#if !defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
Lei Zhang 2012/11/09 09:14:53 Why don't we leave this alone and put the #include
vandebo (ex-Chrome) 2012/11/13 06:50:18 Done.
-#error "Media file system is not supported for this platform."
-#endif
+#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
#if defined(OS_LINUX) // Implies OS_CHROMEOS
#include "chrome/browser/media_gallery/mtp_device_delegate_impl_linux.h"
@@ -25,4 +23,6 @@ typedef class MTPDeviceDelegateImplLinux MTPDeviceDelegateImpl;
} // namespace chrome
+#endif // SUPPORT_MTP_DEVICE_FILESYSTEM
+
#endif // CHROME_BROWSER_MEDIA_GALLERY_MTP_DEVICE_DELEGATE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698