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

Unified Diff: device/bluetooth/bluetooth_device_mac.mm

Issue 336933002: device/bluetooth: Introduce BluetoothGattConnection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ErrorCallback -> ConnectErrorCallback Created 6 years, 6 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_mac.mm
diff --git a/device/bluetooth/bluetooth_device_mac.mm b/device/bluetooth/bluetooth_device_mac.mm
index 5936ec3ec80e3101de8b09d8b4374d26c201ee66..c2dcb00d246a0c6c593ff078d5945ef64669aa0a 100644
--- a/device/bluetooth/bluetooth_device_mac.mm
+++ b/device/bluetooth/bluetooth_device_mac.mm
@@ -219,6 +219,13 @@ void BluetoothDeviceMac::ConnectToService(
device_.get(), uuid, base::Bind(callback, socket), error_callback);
}
+void BluetoothDeviceMac::CreateGattConnection(
+ const GattConnectionCallback& callback,
+ const ConnectErrorCallback& error_callback) {
+ // TODO(armansito): Implement.
+ error_callback.Run(ERROR_UNKNOWN);
+}
+
void BluetoothDeviceMac::StartConnectionMonitor(
const base::Closure& callback,
const ErrorCallback& error_callback) {

Powered by Google App Engine
This is Rietveld 408576698