| 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 #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 <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 | 10 |
| 11 #include "base/macros.h" |
| 10 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" | 12 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" |
| 11 | 13 |
| 12 namespace storage_monitor { | 14 namespace storage_monitor { |
| 13 | 15 |
| 14 // A dummy MediaTransferProtocolManager implementation. | 16 // A dummy MediaTransferProtocolManager implementation. |
| 15 class TestMediaTransferProtocolManagerLinux | 17 class TestMediaTransferProtocolManagerLinux |
| 16 : public device::MediaTransferProtocolManager { | 18 : public device::MediaTransferProtocolManager { |
| 17 public: | 19 public: |
| 18 TestMediaTransferProtocolManagerLinux(); | 20 TestMediaTransferProtocolManagerLinux(); |
| 19 ~TestMediaTransferProtocolManagerLinux() override; | 21 ~TestMediaTransferProtocolManagerLinux() override; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void DeleteObject(const std::string& storage_handle, | 63 void DeleteObject(const std::string& storage_handle, |
| 62 const uint32_t object_id, | 64 const uint32_t object_id, |
| 63 const DeleteObjectCallback& callback) override; | 65 const DeleteObjectCallback& callback) override; |
| 64 | 66 |
| 65 DISALLOW_COPY_AND_ASSIGN(TestMediaTransferProtocolManagerLinux); | 67 DISALLOW_COPY_AND_ASSIGN(TestMediaTransferProtocolManagerLinux); |
| 66 }; | 68 }; |
| 67 | 69 |
| 68 } // namespace storage_monitor | 70 } // namespace storage_monitor |
| 69 | 71 |
| 70 #endif // COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX
_H_ | 72 #endif // COMPONENTS_STORAGE_MONITOR_TEST_MEDIA_TRANSFER_PROTOCOL_MANAGER_LINUX
_H_ |
| OLD | NEW |