| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/storage_monitor/test_media_transfer_protocol_manager_linux.
h" | 5 #include "components/storage_monitor/test_media_transfer_protocol_manager_linux.
h" |
| 6 | 6 |
| 7 #include "device/media_transfer_protocol/mtp_file_entry.pb.h" | 7 #include "device/media_transfer_protocol/mtp_file_entry.pb.h" |
| 8 | 8 |
| 9 namespace storage_monitor { | 9 namespace storage_monitor { |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 callback.Run(std::string(), true); | 59 callback.Run(std::string(), true); |
| 60 } | 60 } |
| 61 | 61 |
| 62 void TestMediaTransferProtocolManagerLinux::GetFileInfo( | 62 void TestMediaTransferProtocolManagerLinux::GetFileInfo( |
| 63 const std::string& storage_handle, | 63 const std::string& storage_handle, |
| 64 uint32 file_id, | 64 uint32 file_id, |
| 65 const GetFileInfoCallback& callback) { | 65 const GetFileInfoCallback& callback) { |
| 66 callback.Run(MtpFileEntry(), true); | 66 callback.Run(MtpFileEntry(), true); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void TestMediaTransferProtocolManagerLinux::CopyFileFromLocal( |
| 70 const std::string& storage_handle, |
| 71 const uint32 source_file_descriptor, |
| 72 const uint32 parent_id, |
| 73 const std::string& file_name, |
| 74 const CopyFileFromLocalCallback& callback) { |
| 75 callback.Run(true /* error */); |
| 76 } |
| 77 |
| 69 } // namespace storage_monitor | 78 } // namespace storage_monitor |
| OLD | NEW |