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

Unified Diff: components/arc/bluetooth/bluetooth_type_converters_unittest.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 months 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/arc/bluetooth/bluetooth_type_converters_unittest.cc
diff --git a/components/arc/bluetooth/bluetooth_type_converters_unittest.cc b/components/arc/bluetooth/bluetooth_type_converters_unittest.cc
index 98c74ec6b69b457f2de291db0a33b1a474e81e43..c89ad8a029d0c3e876f939c757de0e0f42ba50f2 100644
--- a/components/arc/bluetooth/bluetooth_type_converters_unittest.cc
+++ b/components/arc/bluetooth/bluetooth_type_converters_unittest.cc
@@ -63,7 +63,7 @@ bluez::BluetoothServiceAttributeValueBlueZ CreateDeepBlueZSequenceAttribute(
} else {
return bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::UINT, sizeof(uint16_t),
- base::WrapUnique(new base::FundamentalValue(3)));
+ base::WrapUnique(new base::Value(3)));
}
}
@@ -329,7 +329,7 @@ TEST(BluetoothTypeConvertorTest, ConvertBlueZValueAttributeToMojoAttribute) {
int valueUint16AsInt;
auto uintAttributeBlueZ = bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::UINT, sizeof(valueUint16),
- base::MakeUnique<base::FundamentalValue>(static_cast<int>(valueUint16)));
+ base::MakeUnique<base::Value>(static_cast<int>(valueUint16)));
auto uintAttributeMojo =
ConvertTo<arc::mojom::BluetoothSdpAttributePtr>(uintAttributeBlueZ);
@@ -345,7 +345,7 @@ TEST(BluetoothTypeConvertorTest, ConvertBlueZValueAttributeToMojoAttribute) {
bool actualBool = true;
auto boolAttributeBlueZ = bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::BOOL, sizeof(bool),
- base::MakeUnique<base::FundamentalValue>(valueBool));
+ base::MakeUnique<base::Value>(valueBool));
auto boolAttributeMojo =
ConvertTo<arc::mojom::BluetoothSdpAttributePtr>(boolAttributeBlueZ);
@@ -403,7 +403,7 @@ TEST(BluetoothTypeConvertorTest, ConvertBlueZSequenceAttributeToMojoAttribute) {
base::MakeUnique<base::StringValue>(l2capUUID)));
sequence->push_back(bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::UINT, sizeof(uint16_t),
- base::MakeUnique<base::FundamentalValue>(l2capChannel)));
+ base::MakeUnique<base::Value>(l2capChannel)));
auto sequenceBlueZ =
bluez::BluetoothServiceAttributeValueBlueZ(std::move(sequence));
« no previous file with comments | « chromeos/network/shill_property_handler_unittest.cc ('k') | components/autofill/core/common/save_password_progress_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698