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

Unified Diff: device/bluetooth/dbus/bluetooth_device_client.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: device/bluetooth/dbus/bluetooth_device_client.cc
diff --git a/device/bluetooth/dbus/bluetooth_device_client.cc b/device/bluetooth/dbus/bluetooth_device_client.cc
index 09b66e1cfe642122b04c8536d273df2255aa12c5..53199eba4bba82a338b6b40452885db0285c9c53 100644
--- a/device/bluetooth/dbus/bluetooth_device_client.cc
+++ b/device/bluetooth/dbus/bluetooth_device_client.cc
@@ -87,7 +87,7 @@ std::unique_ptr<BluetoothServiceAttributeValueBlueZ> ReadAttributeValue(
std::string str;
if (!struct_reader->PopVariantOfString(&str))
return nullptr;
- value = base::MakeUnique<base::StringValue>(str);
+ value = base::MakeUnique<base::Value>(str);
break;
}
case bluez::BluetoothServiceAttributeValueBlueZ::BOOL: {

Powered by Google App Engine
This is Rietveld 408576698