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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 1292263002: bluetooth: Create base class BluetoothDevice::CreateGattConnection impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-adapter-
Patch Set: fix ProximityAuthBluetoothLowEnergyConnectionTest Created 5 years, 3 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_low_energy_device_mac.h
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h
index 0623c7358ffd293d132beae5012b813bdb420f89..711fd204c4377998279d6308d5c900dd75748b55 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -44,6 +44,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
uint16 GetDeviceID() const override;
bool IsPaired() const override;
bool IsConnected() const override;
+ bool IsGattConnected() const override;
bool IsConnectable() const override;
bool IsConnecting() const override;
BluetoothDevice::UUIDList GetUUIDs() const override;
@@ -82,6 +83,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
protected:
// BluetoothDevice override.
std::string GetDeviceName() const override;
+ void CreateGattConnectionImpl() override;
+ void DisconnectGatt() override;
// Updates information about the device.
virtual void Update(CBPeripheral* peripheral,
« no previous file with comments | « device/bluetooth/bluetooth_gatt_connection_chromeos.cc ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698