Index: chromeos/disks/mock_disk_mount_manager.cc |
diff --git a/chromeos/disks/mock_disk_mount_manager.cc b/chromeos/disks/mock_disk_mount_manager.cc |
index 9b6171e2c4a0cdb93472b6cb0d9b31fb365fe914..9d6f32d012a52690dbcb873501d87e9171ef10d7 100644 |
--- a/chromeos/disks/mock_disk_mount_manager.cc |
+++ b/chromeos/disks/mock_disk_mount_manager.cc |
@@ -183,7 +183,11 @@ void MockDiskMountManager::SetupDefaultReplies() { |
void MockDiskMountManager::CreateDiskEntryForMountDevice( |
const DiskMountManager::MountPointInfo& mount_info, |
const std::string& device_id, |
- const std::string& device_label) { |
+ const std::string& device_label, |
+ const std::string& vendor_name, |
+ const std::string& product_name, |
+ DeviceType device_type, |
+ uint64 total_size_in_bytes) { |
Disk* disk = new DiskMountManager::Disk(std::string(mount_info.source_path), |
std::string(mount_info.mount_path), |
std::string(), // system_path |
@@ -191,13 +195,13 @@ void MockDiskMountManager::CreateDiskEntryForMountDevice( |
device_label, // device_label |
std::string(), // drive_label |
std::string(), // vendor_id |
- std::string(), // vendor_name |
+ vendor_name, |
std::string(), // product_id |
- std::string(), // product_name |
+ product_name, |
device_id, // fs_uuid |
std::string(), // system_path_prefix |
- DEVICE_TYPE_USB, // device_type |
- 1073741824, // total_size_in_bytes |
+ device_type, |
+ total_size_in_bytes, |
false, // is_parent |
false, // is_read_only |
true, // has_media |