| Index: chrome/browser/extensions/api/system_info_storage/storage_info_provider_win.cc
|
| diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_win.cc b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_win.cc
|
| index e3c721d1063b6665953d2ba36cd2360f8286028a..83c347fa8cbfd76bb8684e11c65ea68bbd2618da 100644
|
| --- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_win.cc
|
| +++ b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_win.cc
|
| @@ -83,7 +83,8 @@ bool StorageInfoProviderWin::QueryUnitInfo(const std::string& id,
|
|
|
| if (GetDiskFreeSpaceEx(drive.c_str(), NULL, &total_bytes, &free_bytes)) {
|
| info->id = id;
|
| - info->type = type;
|
| + info->type =
|
| + api::experimental_system_info_storage::FromStorageUnitTypeString(type);
|
| info->capacity = static_cast<double>(total_bytes.QuadPart);
|
| info->available_capacity = static_cast<double>(free_bytes.QuadPart);
|
| return true;
|
|
|