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

Unified Diff: components/storage_monitor/test_media_transfer_protocol_manager_linux.cc

Issue 982283002: Implement DeleteFile and DeleteDirectory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit_tests. 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 572c626f8b0aebef438f59a67aac774640bbbe8f..1d6cd35cdb2590cca8d354bc8b9a7b333d87fb2e 100644
--- a/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
+++ b/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
@@ -75,4 +75,18 @@ void TestMediaTransferProtocolManagerLinux::CopyFileFromLocal(
callback.Run(true /* error */);
}
+void TestMediaTransferProtocolManagerLinux::ReadDirectoryEntryIds(
+ const std::string& storage_handle,
+ const uint32 file_id,
+ const ReadDirectoryEntryIdsCallback& callback) {
+ callback.Run(std::vector<uint32>(), true /* error */);
+}
+
+void TestMediaTransferProtocolManagerLinux::DeleteObject(
+ const std::string& storage_handle,
+ const uint32 object_id,
+ const DeleteObjectCallback& callback) {
+ callback.Run(true /* error */);
+}
+
} // namespace storage_monitor

Powered by Google App Engine
This is Rietveld 408576698