Index: chrome/browser/storage_monitor/test_storage_monitor.cc |
=================================================================== |
--- chrome/browser/storage_monitor/test_storage_monitor.cc (revision 201602) |
+++ chrome/browser/storage_monitor/test_storage_monitor.cc (working copy) |
@@ -47,11 +47,11 @@ |
if (!path.IsAbsolute()) |
return false; |
- device_info->device_id = StorageInfo::MakeDeviceId( |
+ std::string device_name = StorageInfo::MakeDeviceId( |
Greg Billock
2013/05/22 23:39:00
"device_id"
Lei Zhang
2013/05/23 16:44:49
Done.
|
StorageInfo::FIXED_MASS_STORAGE, path.AsUTF8Unsafe()); |
- device_info->name = path.BaseName().LossyDisplayName(); |
- device_info->location = path.value(); |
- device_info->total_size_in_bytes = 0; |
+ *device_info = |
+ StorageInfo(device_name, path.BaseName().LossyDisplayName(), |
+ path.value(), string16(), string16(), string16(), 0); |
return true; |
} |