| Index: chrome/browser/extensions/api/system_info_storage/test_storage_info_provider.cc
|
| diff --git a/chrome/browser/extensions/api/system_info_storage/test_storage_info_provider.cc b/chrome/browser/extensions/api/system_info_storage/test_storage_info_provider.cc
|
| index 2d27dbed34719127b0abf39a2fa94b5f7bcdadd6..676d017a2139d9289fd6ac5c19ef66099cb5356b 100644
|
| --- a/chrome/browser/extensions/api/system_info_storage/test_storage_info_provider.cc
|
| +++ b/chrome/browser/extensions/api/system_info_storage/test_storage_info_provider.cc
|
| @@ -39,7 +39,8 @@ chrome::StorageInfo TestStorageInfoProvider::BuildStorageInfo(
|
| return info;
|
| }
|
|
|
| -bool TestStorageInfoProvider::QueryInfo(extensions::StorageInfo* info) {
|
| +void TestStorageInfoProvider::QueryInfo() {
|
| + extensions::StorageInfo* info = &info_;
|
| extensions::StorageInfo results;
|
| for (size_t i = 0; i < testing_data_.size(); ++i) {
|
| linked_ptr<StorageUnitInfo> unit(new StorageUnitInfo());
|
| @@ -51,7 +52,7 @@ bool TestStorageInfoProvider::QueryInfo(extensions::StorageInfo* info) {
|
| results.push_back(unit);
|
| }
|
| info->swap(results);
|
| - return true;
|
| + success_ = true;
|
| }
|
|
|
| std::vector<chrome::StorageInfo>
|
|
|