Chromium Code Reviews| Index: components/storage_monitor/test_volume_mount_watcher_win.cc |
| diff --git a/components/storage_monitor/test_volume_mount_watcher_win.cc b/components/storage_monitor/test_volume_mount_watcher_win.cc |
| index 50c22b56b73321030097ddcd5cb72d823130fe97..cfd1a3944a170c461533871e64a357755d8ee445 100644 |
| --- a/components/storage_monitor/test_volume_mount_watcher_win.cc |
| +++ b/components/storage_monitor/test_volume_mount_watcher_win.cc |
| @@ -76,8 +76,8 @@ bool GetMassStorageDeviceDetails(const base::FilePath& device_path, |
| unique_id[11] = device_path.value()[0]; |
| std::string device_id = StorageInfo::MakeDeviceId(type, unique_id); |
| base::string16 storage_label = path.Append(L" Drive").LossyDisplayName(); |
| - *info = StorageInfo(device_id, base::string16(), path.value(), storage_label, |
| - base::string16(), base::string16(), 1000000); |
| + *info = StorageInfo(device_id, path.value(), storage_label, base::string16(), |
| + base::string16(), 1000000); |
| return true; |
| } |
| @@ -97,9 +97,8 @@ void TestVolumeMountWatcherWin::AddDeviceForTesting( |
| const std::string& device_id, |
| const base::string16& device_name, |
|
vandebo (ex-Chrome)
2014/03/03 19:58:31
nit: device_label ?
Haojian Wu
2014/03/04 05:00:12
Done.
|
| uint64 total_size_in_bytes) { |
| - StorageInfo info(device_id, device_name, device_path.value(), |
| - base::string16(), base::string16(), base::string16(), |
| - total_size_in_bytes); |
| + StorageInfo info(device_id, device_path.value(), device_name, |
| + base::string16(), base::string16(), total_size_in_bytes); |
| HandleDeviceAttachEventOnUIThread(device_path, info); |
| } |