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

Unified Diff: device/bluetooth/bluetooth_device_chromeos.cc

Issue 1292263002: bluetooth: Create base class BluetoothDevice::CreateGattConnection impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-adapter-
Patch Set: Updated patchset dependency Created 5 years, 4 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_device_chromeos.cc
diff --git a/device/bluetooth/bluetooth_device_chromeos.cc b/device/bluetooth/bluetooth_device_chromeos.cc
index 97bbe66c0ff377467357a9cdb2ac89280211a13d..29e533355de398dc55ec5e807f0889f1f8b34d10 100644
--- a/device/bluetooth/bluetooth_device_chromeos.cc
+++ b/device/bluetooth/bluetooth_device_chromeos.cc
@@ -179,6 +179,18 @@ std::string BluetoothDeviceChromeOS::GetDeviceName() const {
return properties->alias.value();
}
+void BluetoothDeviceChromeOS::CreateGattConnectionImpl() {
+ // ChromeOS implementation does not use the default CreateGattConnection
+ // implementation.
+ NOTIMPLEMENTED();
+}
+
+void BluetoothDeviceChromeOS::DisconnectGatt() {
+ // ChromeOS implementation does not use the default CreateGattConnection
+ // implementation.
+ NOTIMPLEMENTED();
+}
+
std::string BluetoothDeviceChromeOS::GetAddress() const {
BluetoothDeviceClient::Properties* properties =
DBusThreadManager::Get()->GetBluetoothDeviceClient()->
@@ -234,6 +246,11 @@ bool BluetoothDeviceChromeOS::IsConnected() const {
return properties->connected.value();
}
+bool BluetoothDeviceChromeOS::IsGattConnected() const {
+ NOTIMPLEMENTED();
+ return false;
+}
+
bool BluetoothDeviceChromeOS::IsConnectable() const {
BluetoothInputClient::Properties* input_properties =
DBusThreadManager::Get()->GetBluetoothInputClient()->

Powered by Google App Engine
This is Rietveld 408576698