| Index: chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc b/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| index 3f7e77a81f26c481684716133f481a80fa30720d..588fd971cc19de2017b9eddb6144f330074e77bc 100644
|
| --- a/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| +++ b/chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc
|
| @@ -32,7 +32,10 @@ class MockStorageInfoProvider : public StorageInfoProvider {
|
|
|
| linked_ptr<StorageUnitInfo> unit(new StorageUnitInfo());
|
| unit->id = "0xbeaf";
|
| - unit->type = systeminfo::kStorageTypeUnknown;
|
| + if (!api::experimental_system_info_storage::
|
| + GetEnumFromString(systeminfo::kStorageTypeUnknown, &unit->type)) {
|
| + return false;
|
| + }
|
| unit->capacity = 4098;
|
| unit->available_capacity = 1024;
|
|
|
|
|