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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_device_client.h

Issue 2440043002: bluetooth: bluez: GetName uses 'name' instead of 'alias'. (Closed)
Patch Set: Android needs StartLowEnergyDiscoverySession; Browser test needs s/alias/name/ 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: device/bluetooth/dbus/fake_bluetooth_device_client.h
diff --git a/device/bluetooth/dbus/fake_bluetooth_device_client.h b/device/bluetooth/dbus/fake_bluetooth_device_client.h
index d939e1156fd33dab88556f80c82e36489ba03e14..9a7d67268783683d55c9b7728edeaa4c3b07d515 100644
--- a/device/bluetooth/dbus/fake_bluetooth_device_client.h
+++ b/device/bluetooth/dbus/fake_bluetooth_device_client.h
@@ -13,6 +13,7 @@
#include "base/bind.h"
#include "base/callback.h"
#include "base/observer_list.h"
+#include "base/optional.h"
#include "dbus/object_path.h"
#include "dbus/property.h"
#include "device/bluetooth/bluetooth_common.h"
@@ -156,7 +157,7 @@ class DEVICE_BLUETOOTH_EXPORT FakeBluetoothDeviceClient
// Create a test Bluetooth device with the given properties.
void CreateTestDevice(const dbus::ObjectPath& adapter_path,
- const std::string name,
+ const base::Optional<std::string> name,
const std::string alias,
const std::string device_address,
const std::vector<std::string>& service_uuids,
« no previous file with comments | « device/bluetooth/bluez/bluetooth_device_bluez.cc ('k') | device/bluetooth/dbus/fake_bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698