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

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: Address comments. 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..b52f4c42f7406beffe3924d86ef75af4c3f075b7 100644
--- a/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
+++ b/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
@@ -43,7 +43,8 @@ void TestMediaTransferProtocolManagerLinux::CloseStorage(
void TestMediaTransferProtocolManagerLinux::ReadDirectory(
const std::string& storage_handle,
- uint32 file_id,
+ const uint32 file_id,
+ const size_t max_size,
const ReadDirectoryCallback& callback) {
callback.Run(std::vector<MtpFileEntry>(),
false /* no more entries*/,
@@ -75,4 +76,11 @@ void TestMediaTransferProtocolManagerLinux::CopyFileFromLocal(
callback.Run(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