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

Side by Side Diff: components/storage_monitor/test_media_transfer_protocol_manager_linux.h

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 unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX_H_ 5 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX_H_
6 #define COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX_H_ 6 #define COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX_H_
7 7
8 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" 8 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h"
9 9
10 namespace storage_monitor { 10 namespace storage_monitor {
(...skipping 22 matching lines...) Expand all
33 const size_t max_size, 33 const size_t max_size,
34 const ReadDirectoryCallback& callback) override; 34 const ReadDirectoryCallback& callback) override;
35 void ReadFileChunk(const std::string& storage_handle, 35 void ReadFileChunk(const std::string& storage_handle,
36 uint32 file_id, 36 uint32 file_id,
37 uint32 offset, 37 uint32 offset,
38 uint32 count, 38 uint32 count,
39 const ReadFileCallback& callback) override; 39 const ReadFileCallback& callback) override;
40 void GetFileInfo(const std::string& storage_handle, 40 void GetFileInfo(const std::string& storage_handle,
41 uint32 file_id, 41 uint32 file_id,
42 const GetFileInfoCallback& callback) override; 42 const GetFileInfoCallback& callback) override;
43 void RenameObject(const std::string& storage_handle,
44 const uint32 object_id,
45 const std::string& new_name,
46 const RenameObjectCallback& callback) override;
43 void CopyFileFromLocal(const std::string& storage_handle, 47 void CopyFileFromLocal(const std::string& storage_handle,
44 const int source_file_descriptor, 48 const int source_file_descriptor,
45 const uint32 parent_id, 49 const uint32 parent_id,
46 const std::string& file_name, 50 const std::string& file_name,
47 const CopyFileFromLocalCallback& callback) override; 51 const CopyFileFromLocalCallback& callback) override;
48 void DeleteObject(const std::string& storage_handle, 52 void DeleteObject(const std::string& storage_handle,
49 const uint32 object_id, 53 const uint32 object_id,
50 const DeleteObjectCallback& callback) override; 54 const DeleteObjectCallback& callback) override;
51 55
52 DISALLOW_COPY_AND_ASSIGN(TestMediaTransferProtocolManagerLinux); 56 DISALLOW_COPY_AND_ASSIGN(TestMediaTransferProtocolManagerLinux);
53 }; 57 };
54 58
55 } // namespace storage_monitor 59 } // namespace storage_monitor
56 60
57 #endif // COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX _H_ 61 #endif // COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698