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

Unified Diff: components/storage_monitor/test_storage_monitor.cc

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
« no previous file with comments | « components/storage_monitor/test_storage_monitor.h ('k') | device/media_transfer_protocol/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/test_storage_monitor.cc
diff --git a/components/storage_monitor/test_storage_monitor.cc b/components/storage_monitor/test_storage_monitor.cc
index 3277f6fa585b8e459c573fbda618d4e3c376a2bc..3ab33bb04139afba6952b96ac761baf746faf785 100644
--- a/components/storage_monitor/test_storage_monitor.cc
+++ b/components/storage_monitor/test_storage_monitor.cc
@@ -11,8 +11,8 @@
#include "build/build_config.h"
#include "components/storage_monitor/storage_info.h"
-#if defined(OS_LINUX)
-#include "components/storage_monitor/test_media_transfer_protocol_manager_linux.h"
+#if defined(OS_CHROMEOS)
+#include "components/storage_monitor/test_media_transfer_protocol_manager_chromeos.h"
#include "device/media_transfer_protocol/media_transfer_protocol_manager.h" // nogncheck
#endif
@@ -21,9 +21,9 @@ namespace storage_monitor {
TestStorageMonitor::TestStorageMonitor()
: StorageMonitor(),
init_called_(false) {
-#if defined(OS_LINUX)
+#if defined(OS_CHROMEOS)
media_transfer_protocol_manager_.reset(
- new TestMediaTransferProtocolManagerLinux());
+ new TestMediaTransferProtocolManagerChromeOS());
#endif
}
@@ -115,7 +115,7 @@ bool TestStorageMonitor::GetMTPStorageInfoFromDeviceId(
}
#endif
-#if defined(OS_LINUX)
+#if defined(OS_CHROMEOS)
device::MediaTransferProtocolManager*
TestStorageMonitor::media_transfer_protocol_manager() {
return media_transfer_protocol_manager_.get();
« no previous file with comments | « components/storage_monitor/test_storage_monitor.h ('k') | device/media_transfer_protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698