| Index: chrome/browser/extensions/api/system_info_storage/system_info_storage_api.cc
|
| diff --git a/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.cc b/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.cc
|
| index cc9d9055b0ab035c16636218edc58214de89edb1..b126c65306a0e491b43cb5a120a98356962a0cb4 100644
|
| --- a/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.cc
|
| +++ b/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.cc
|
| @@ -20,12 +20,11 @@ bool SystemInfoStorageGetFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -void SystemInfoStorageGetFunction::OnGetStorageInfoCompleted(
|
| - const StorageInfo& info, bool success) {
|
| -
|
| +void SystemInfoStorageGetFunction::OnGetStorageInfoCompleted(bool success) {
|
| if (success) {
|
| results_ =
|
| - api::experimental_system_info_storage::Get::Results::Create(info);
|
| + api::experimental_system_info_storage::Get::Results::Create(
|
| + StorageInfoProvider::Get()->storage_unit_info_list());
|
| } else {
|
| SetError("Error occurred when querying storage information.");
|
| }
|
|
|