| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chrome/browser/chromeos/imageburner/burn_device_handler.h" | 5 #include "chrome/browser/chromeos/imageburner/burn_device_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual const MountPointMap& mount_points() const OVERRIDE { | 79 virtual const MountPointMap& mount_points() const OVERRIDE { |
| 80 // Note: mount_points_ will always be empty, now. | 80 // Note: mount_points_ will always be empty, now. |
| 81 return mount_points_; | 81 return mount_points_; |
| 82 } | 82 } |
| 83 virtual void RequestMountInfoRefresh() OVERRIDE {} | 83 virtual void RequestMountInfoRefresh() OVERRIDE {} |
| 84 virtual void MountPath(const std::string& source_path, | 84 virtual void MountPath(const std::string& source_path, |
| 85 const std::string& source_format, | 85 const std::string& source_format, |
| 86 const std::string& mount_label, | 86 const std::string& mount_label, |
| 87 MountType type) OVERRIDE {} | 87 MountType type) OVERRIDE {} |
| 88 virtual void UnmountPath(const std::string& mount_path, | 88 virtual void UnmountPath(const std::string& mount_path, |
| 89 UnmountOptions options) OVERRIDE {} | 89 UnmountOptions options, |
| 90 const UnmountPathCallback& callback) OVERRIDE {} |
| 90 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {} | 91 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {} |
| 91 virtual void UnmountDeviceRecursively( | 92 virtual void UnmountDeviceRecursively( |
| 92 const std::string& device_path, | 93 const std::string& device_path, |
| 93 const UnmountDeviceRecursivelyCallbackType& callback) OVERRIDE {} | 94 const UnmountDeviceRecursivelyCallbackType& callback) OVERRIDE {} |
| 94 virtual bool AddDiskForTest(Disk* disk) OVERRIDE { return false; } | 95 virtual bool AddDiskForTest(Disk* disk) OVERRIDE { return false; } |
| 95 virtual bool AddMountPointForTest( | 96 virtual bool AddMountPointForTest( |
| 96 const MountPointInfo& mount_point) OVERRIDE { | 97 const MountPointInfo& mount_point) OVERRIDE { |
| 97 return false; | 98 return false; |
| 98 } | 99 } |
| 99 | 100 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 275 |
| 275 added_device.clear(); | 276 added_device.clear(); |
| 276 removed_device.clear(); | 277 removed_device.clear(); |
| 277 disk_mount_manager_->EmulateRemoveDisk("/dev/unburnable"); | 278 disk_mount_manager_->EmulateRemoveDisk("/dev/unburnable"); |
| 278 EXPECT_TRUE(added_device.empty()); | 279 EXPECT_TRUE(added_device.empty()); |
| 279 EXPECT_TRUE(removed_device.empty()); | 280 EXPECT_TRUE(removed_device.empty()); |
| 280 } | 281 } |
| 281 | 282 |
| 282 } // namespace imageburner | 283 } // namespace imageburner |
| 283 } // namespace chromeos | 284 } // namespace chromeos |
| OLD | NEW |