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

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

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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 5b61f8323a3250b09025852744c1b956df0f5d95..6d985e08fc88395e2c69c1add4b10435d5f51068 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,8 +329,8 @@ TEST(BluetoothTypeConvertorTest, ConvertBlueZValueAttributeToMojoAttribute) {
int valueUint16AsInt;
auto uintAttributeBlueZ = bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::UINT, sizeof(valueUint16),
- base::MakeUnique<base::FundamentalValue>(
- base::FundamentalValue(static_cast<int>(valueUint16))));
+ base::MakeUnique<base::Value>(
+ base::Value(static_cast<int>(valueUint16))));
auto uintAttributeMojo =
ConvertTo<arc::mojom::BluetoothSdpAttributePtr>(uintAttributeBlueZ);
@@ -346,8 +346,8 @@ TEST(BluetoothTypeConvertorTest, ConvertBlueZValueAttributeToMojoAttribute) {
bool actualBool = true;
auto boolAttributeBlueZ = bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::BOOL, sizeof(bool),
- base::MakeUnique<base::FundamentalValue>(
- base::FundamentalValue(valueBool)));
+ base::MakeUnique<base::Value>(
+ base::Value(valueBool)));
auto boolAttributeMojo =
ConvertTo<arc::mojom::BluetoothSdpAttributePtr>(boolAttributeBlueZ);
@@ -405,8 +405,8 @@ TEST(BluetoothTypeConvertorTest, ConvertBlueZSequenceAttributeToMojoAttribute) {
base::MakeUnique<base::StringValue>(base::StringValue(l2capUUID))));
sequence->push_back(bluez::BluetoothServiceAttributeValueBlueZ(
bluez::BluetoothServiceAttributeValueBlueZ::UINT, sizeof(uint16_t),
- base::MakeUnique<base::FundamentalValue>(
- base::FundamentalValue(l2capChannel))));
+ base::MakeUnique<base::Value>(
+ 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