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

Unified Diff: extensions/common/file_util.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « extensions/common/features/json_feature_provider_source.cc ('k') | extensions/common/file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/file_util.cc
diff --git a/extensions/common/file_util.cc b/extensions/common/file_util.cc
index 91d49d0319bebb549d36d938d5d3a51782b9eae1..4bc1b5deb27dc8769580cf21105ff9845181e56e 100644
--- a/extensions/common/file_util.cc
+++ b/extensions/common/file_util.cc
@@ -261,7 +261,7 @@ std::unique_ptr<base::DictionaryValue> LoadManifest(
return NULL;
}
- if (!root->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!root->IsType(base::Value::Type::DICTIONARY)) {
*error = l10n_util::GetStringUTF8(IDS_EXTENSION_MANIFEST_INVALID);
return NULL;
}
« no previous file with comments | « extensions/common/features/json_feature_provider_source.cc ('k') | extensions/common/file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698