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

Unified Diff: device/bluetooth/bluetooth_classic_device_mac.h

Issue 2009753002: bluetooth: Make public BluetoothDevice::GetName method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split out name/alias Created 4 years, 5 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/bluetooth_classic_device_mac.h
diff --git a/device/bluetooth/bluetooth_classic_device_mac.h b/device/bluetooth/bluetooth_classic_device_mac.h
index 40704f4765365ab43f1e4506dee87dd4fe28738a..ec9434a55594d52ef874073068279b0b0824fc1e 100644
--- a/device/bluetooth/bluetooth_classic_device_mac.h
+++ b/device/bluetooth/bluetooth_classic_device_mac.h
@@ -36,6 +36,7 @@ class BluetoothClassicDeviceMac : public BluetoothDeviceMac {
uint16_t GetProductID() const override;
uint16_t GetDeviceID() const override;
uint16_t GetAppearance() const override;
+ base::Optional<std::string> GetName() const override;
bool IsPaired() const override;
bool IsConnected() const override;
bool IsGattConnected() const override;
@@ -80,7 +81,6 @@ class BluetoothClassicDeviceMac : public BluetoothDeviceMac {
protected:
// BluetoothDevice override
- std::string GetDeviceName() const override;
void CreateGattConnectionImpl() override;
void DisconnectGatt() override;
« no previous file with comments | « device/bluetooth/bluetooth_adapter_win_unittest.cc ('k') | device/bluetooth/bluetooth_classic_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698