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

Unified Diff: components/content_settings/core/browser/content_settings_policy_provider.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
Index: components/content_settings/core/browser/content_settings_policy_provider.cc
diff --git a/components/content_settings/core/browser/content_settings_policy_provider.cc b/components/content_settings/core/browser/content_settings_policy_provider.cc
index 78a12a27a916aa1eb40423267b135fc905725751..8a7587ba070bceb627f392fea8141f1c52aef837 100644
--- a/components/content_settings/core/browser/content_settings_policy_provider.cc
+++ b/components/content_settings/core/browser/content_settings_policy_provider.cc
@@ -300,7 +300,7 @@ void PolicyProvider::GetAutoSelectCertificateSettingsFromPreferences(
std::unique_ptr<base::Value> value = base::JSONReader::Read(
pattern_filter_json, base::JSON_ALLOW_TRAILING_COMMAS);
- if (!value || !value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!value || !value->IsType(base::Value::Type::DICTIONARY)) {
VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:"
" Invalid JSON object: " << pattern_filter_json;
continue;

Powered by Google App Engine
This is Rietveld 408576698