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

Unified Diff: chrome/browser/chromeos/proxy_cros_settings_parser.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: chrome/browser/chromeos/proxy_cros_settings_parser.cc
diff --git a/chrome/browser/chromeos/proxy_cros_settings_parser.cc b/chrome/browser/chromeos/proxy_cros_settings_parser.cc
index 69eca3dec7101817dc8848902530be5e772d48c1..07353a4f16e9cf4ade0a8bab98ff3328a0973f48 100644
--- a/chrome/browser/chromeos/proxy_cros_settings_parser.cc
+++ b/chrome/browser/chromeos/proxy_cros_settings_parser.cc
@@ -261,7 +261,7 @@ void SetProxyPrefValue(const std::string& network_guid,
}
} else if (path == kProxyIgnoreList) {
net::ProxyBypassRules bypass_rules;
- if (in_value->GetType() == base::Value::TYPE_LIST) {
+ if (in_value->GetType() == base::Value::Type::LIST) {
const base::ListValue* list_value =
static_cast<const base::ListValue*>(in_value);
for (size_t x = 0; x < list_value->GetSize(); x++) {

Powered by Google App Engine
This is Rietveld 408576698