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

Unified Diff: components/proximity_auth/proximity_auth_pref_manager.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 | « components/proximity_auth/messenger_impl.cc ('k') | components/proximity_auth/wire_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/proximity_auth_pref_manager.cc
diff --git a/components/proximity_auth/proximity_auth_pref_manager.cc b/components/proximity_auth/proximity_auth_pref_manager.cc
index 93e90d4e851fb630a00b5cf83b6a3618efcc6b09..7d2dbd6937b4b17e2a23274b30adc64242f660ef 100644
--- a/components/proximity_auth/proximity_auth_pref_manager.cc
+++ b/components/proximity_auth/proximity_auth_pref_manager.cc
@@ -52,7 +52,7 @@ std::string ProximityAuthPrefManager::GetDeviceAddress(
for (base::DictionaryValue::Iterator it(*remote_ble_devices); !it.IsAtEnd();
it.Advance()) {
std::string value_string;
- DCHECK(it.value().IsType(base::Value::TYPE_STRING));
+ DCHECK(it.value().IsType(base::Value::Type::STRING));
if (it.value().GetAsString(&value_string) && value_string == public_key)
return it.key();
}
@@ -65,7 +65,7 @@ std::vector<std::string> ProximityAuthPrefManager::GetPublicKeys() const {
for (base::DictionaryValue::Iterator it(*remote_ble_devices); !it.IsAtEnd();
it.Advance()) {
std::string value_string;
- DCHECK(it.value().IsType(base::Value::TYPE_STRING));
+ DCHECK(it.value().IsType(base::Value::Type::STRING));
it.value().GetAsString(&value_string);
public_keys.push_back(value_string);
}
« no previous file with comments | « components/proximity_auth/messenger_impl.cc ('k') | components/proximity_auth/wire_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698