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

Unified Diff: chrome/browser/media_galleries/fileapi/media_file_system_backend.h

Issue 2358493002: Remove MTP support on Linux. (Closed)
Patch Set: move files Created 4 years, 3 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_galleries/fileapi/media_file_system_backend.h
diff --git a/chrome/browser/media_galleries/fileapi/media_file_system_backend.h b/chrome/browser/media_galleries/fileapi/media_file_system_backend.h
index 6db0a68e053a660c6bf62b7270e0a0d7ca79cafe..d5f830f7f8eb94a007abc3767cef74f12f15c970 100644
--- a/chrome/browser/media_galleries/fileapi/media_file_system_backend.h
+++ b/chrome/browser/media_galleries/fileapi/media_file_system_backend.h
@@ -31,8 +31,8 @@ namespace net {
class URLRequest;
}
-class MediaPathFilter;
class DeviceMediaAsyncFileUtil;
+class MediaPathFilter;
class MediaFileSystemBackend : public storage::FileSystemBackend {
public:
@@ -110,7 +110,11 @@ class MediaFileSystemBackend : public storage::FileSystemBackend {
media_copy_or_move_file_validator_factory_;
std::unique_ptr<storage::AsyncFileUtil> native_media_file_util_;
+
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
std::unique_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_;
+#endif
+
#if defined(OS_WIN) || defined(OS_MACOSX)
std::unique_ptr<storage::AsyncFileUtil> picasa_file_util_;
std::unique_ptr<storage::AsyncFileUtil> itunes_file_util_;
@@ -118,7 +122,7 @@ class MediaFileSystemBackend : public storage::FileSystemBackend {
// Used for usage UMA tracking.
bool picasa_file_util_used_;
bool itunes_file_util_used_;
-#endif // defined(OS_WIN) || defined(OS_MACOSX)
+#endif
DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend);
};

Powered by Google App Engine
This is Rietveld 408576698