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

Unified Diff: android_webview/browser/aw_browser_policy_connector.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 | « no previous file | base/json/json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_policy_connector.cc
diff --git a/android_webview/browser/aw_browser_policy_connector.cc b/android_webview/browser/aw_browser_policy_connector.cc
index 2baa24f26efdf6f052970ddef147c5e6385490ec..bcd497bce21daa934394939b2cea679f69b43608 100644
--- a/android_webview/browser/aw_browser_policy_connector.cc
+++ b/android_webview/browser/aw_browser_policy_connector.cc
@@ -39,21 +39,21 @@ std::unique_ptr<policy::ConfigurationPolicyHandlerList> BuildHandlerList(
// URL Filtering
handlers->AddHandler(base::MakeUnique<policy::SimplePolicyHandler>(
policy::key::kURLWhitelist, policy::policy_prefs::kUrlWhitelist,
- base::Value::TYPE_LIST));
+ base::Value::Type::LIST));
handlers->AddHandler(base::MakeUnique<policy::URLBlacklistPolicyHandler>());
// HTTP Negotiate authentication
handlers->AddHandler(base::MakeUnique<policy::SimplePolicyHandler>(
policy::key::kAuthServerWhitelist, prefs::kAuthServerWhitelist,
- base::Value::TYPE_STRING));
+ base::Value::Type::STRING));
handlers->AddHandler(base::MakeUnique<policy::SimplePolicyHandler>(
policy::key::kAuthAndroidNegotiateAccountType,
- prefs::kAuthAndroidNegotiateAccountType, base::Value::TYPE_STRING));
+ prefs::kAuthAndroidNegotiateAccountType, base::Value::Type::STRING));
// Web restrictions
handlers->AddHandler(base::WrapUnique(new policy::SimplePolicyHandler(
policy::key::kWebRestrictionsAuthority, prefs::kWebRestrictionsAuthority,
- base::Value::TYPE_STRING)));
+ base::Value::Type::STRING)));
return handlers;
}
« no previous file with comments | « no previous file | base/json/json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698