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

Unified Diff: components/storage_monitor/test_media_transfer_protocol_manager_linux.cc

Issue 1007173003: Implement MoveFileLocal (with rename operation). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
diff --git a/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc b/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
index b52f4c42f7406beffe3924d86ef75af4c3f075b7..ab49496fa174a1c48bcbba7f67881dee2a430b84 100644
--- a/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
+++ b/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
@@ -67,6 +67,14 @@ void TestMediaTransferProtocolManagerLinux::GetFileInfo(
callback.Run(MtpFileEntry(), true);
}
+void TestMediaTransferProtocolManagerLinux::RenameObject(
+ const std::string& storage_handle,
+ const uint32 object_id,
+ const std::string& new_name,
+ const RenameObjectCallback& callback) {
+ callback.Run(true /* error */);
+}
+
void TestMediaTransferProtocolManagerLinux::CopyFileFromLocal(
const std::string& storage_handle,
const int source_file_descriptor,

Powered by Google App Engine
This is Rietveld 408576698