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

Unified Diff: device/bluetooth/bluez/bluetooth_service_attribute_value_bluez_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
« no previous file with comments | « dbus/values_util_unittest.cc ('k') | device/bluetooth/dbus/bluetooth_device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc
diff --git a/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc b/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc
index e61e6bb227331db67ea0067c824f4187dc63a8b8..d9d8d028b43a216ca0834112e6aa63f62ad68235 100644
--- a/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc
+++ b/device/bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc
@@ -58,9 +58,9 @@ TEST(BluetoothServiceAttributeBlueZTest, Sequence) {
BluetoothServiceAttributeValueBlueZ value1(
Type::UUID, 16, base::MakeUnique<base::StringValue>(kServiceUuid));
BluetoothServiceAttributeValueBlueZ value2(
- Type::INT, 4, base::MakeUnique<base::FundamentalValue>(0x1337));
+ Type::INT, 4, base::MakeUnique<base::Value>(0x1337));
BluetoothServiceAttributeValueBlueZ value3(
- Type::INT, 4, base::MakeUnique<base::FundamentalValue>(0x7331));
+ Type::INT, 4, base::MakeUnique<base::Value>(0x7331));
BluetoothServiceAttributeValueBlueZ* value4 =
new BluetoothServiceAttributeValueBlueZ(
@@ -82,7 +82,7 @@ TEST(BluetoothServiceAttributeBlueZTest, NestedValue) {
BluetoothServiceAttributeValueBlueZ value1(
Type::UUID, 16, base::MakeUnique<base::StringValue>(kServiceUuid));
BluetoothServiceAttributeValueBlueZ value2(
- Type::INT, 4, base::MakeUnique<base::FundamentalValue>(0x1337));
+ Type::INT, 4, base::MakeUnique<base::Value>(0x1337));
BluetoothServiceAttributeValueBlueZ value3(MakeSequence({value1, value2}));
BluetoothServiceAttributeValueBlueZ value4(MakeSequence({value3}));
@@ -126,9 +126,9 @@ TEST(BluetoothServiceAttributeBlueZTest, CopyAssignment) {
BluetoothServiceAttributeValueBlueZ value1(
Type::UUID, 16, base::MakeUnique<base::StringValue>(kServiceUuid));
BluetoothServiceAttributeValueBlueZ value2(
- Type::INT, 4, base::MakeUnique<base::FundamentalValue>(0x1337));
+ Type::INT, 4, base::MakeUnique<base::Value>(0x1337));
BluetoothServiceAttributeValueBlueZ value3(
- Type::INT, 4, base::MakeUnique<base::FundamentalValue>(0x7331));
+ Type::INT, 4, base::MakeUnique<base::Value>(0x7331));
std::unique_ptr<BluetoothServiceAttributeValueBlueZ> value4(
new BluetoothServiceAttributeValueBlueZ(
MakeSequence({value1, value2, value3})));
« no previous file with comments | « dbus/values_util_unittest.cc ('k') | device/bluetooth/dbus/bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698