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

Unified Diff: components/storage_monitor/test_media_transfer_protocol_manager_linux.cc

Issue 378263002: Devices: Remove MTP functions that use file paths. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 5 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: components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
===================================================================
--- components/storage_monitor/test_media_transfer_protocol_manager_linux.cc (revision 281682)
+++ components/storage_monitor/test_media_transfer_protocol_manager_linux.cc (working copy)
@@ -41,13 +41,6 @@
callback.Run(true);
}
-void TestMediaTransferProtocolManagerLinux::ReadDirectoryByPath(
- const std::string& storage_handle,
- const std::string& path,
- const ReadDirectoryCallback& callback) {
- callback.Run(std::vector<MtpFileEntry>(), true);
-}
-
void TestMediaTransferProtocolManagerLinux::ReadDirectoryById(
const std::string& storage_handle,
uint32 file_id,
@@ -55,15 +48,6 @@
callback.Run(std::vector<MtpFileEntry>(), true);
}
-void TestMediaTransferProtocolManagerLinux::ReadFileChunkByPath(
- const std::string& storage_handle,
- const std::string& path,
- uint32 offset,
- uint32 count,
- const ReadFileCallback& callback) {
- callback.Run(std::string(), true);
-}
-
void TestMediaTransferProtocolManagerLinux::ReadFileChunkById(
const std::string& storage_handle,
uint32 file_id,
@@ -73,13 +57,6 @@
callback.Run(std::string(), true);
}
-void TestMediaTransferProtocolManagerLinux::GetFileInfoByPath(
- const std::string& storage_handle,
- const std::string& path,
- const GetFileInfoCallback& callback) {
- callback.Run(MtpFileEntry(), true);
-}
-
void TestMediaTransferProtocolManagerLinux::GetFileInfoById(
const std::string& storage_handle,
uint32 file_id,

Powered by Google App Engine
This is Rietveld 408576698