Index: components/proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc b/components/proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc |
index da1d36099a5024e28c29b43727b822e3c47bbbf0..e87a224f6cb878921178c175198e3988f745616e 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc |
@@ -55,7 +55,7 @@ std::string BluetoothLowEnergyDeviceWhitelist::GetDeviceAddress( |
for (base::DictionaryValue::Iterator it(*device_whitelist); !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(); |
} |
@@ -69,7 +69,7 @@ std::vector<std::string> BluetoothLowEnergyDeviceWhitelist::GetPublicKeys() |
for (base::DictionaryValue::Iterator it(*device_whitelist); !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); |
} |