Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4585)

Unified Diff: chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
index a1b77c5fe5c1e1a478bb7b9da8437427e48fa004..ebb573297ee5d4343bebcc060f4e3c6263cc4071 100644
--- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
+++ b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
@@ -14,7 +14,7 @@
namespace extensions {
-using api::experimental_system_info_storage::FromStorageUnitTypeString;
+using api::experimental_system_info_storage::ParseStorageUnitType;
using api::experimental_system_info_storage::StorageUnitInfo;
using api::experimental_system_info_storage::StorageUnitType;
using content::BrowserThread;
@@ -149,7 +149,7 @@ bool TestStorageInfoProvider::QueryUnitInfo(
for (size_t i = 0; i < testing_data_.size(); ++i) {
if (testing_data_[i].id == id) {
info->id = testing_data_[i].id;
- info->type = FromStorageUnitTypeString(testing_data_[i].type);
+ info->type = ParseStorageUnitType(testing_data_[i].type);
info->capacity = testing_data_[i].capacity;
info->available_capacity = testing_data_[i].available_capacity;
// Increase the available capacity with a fixed change step.

Powered by Google App Engine
This is Rietveld 408576698