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

Unified Diff: device/bluetooth/bluetooth_device_win.cc

Issue 336933002: device/bluetooth: Introduce BluetoothGattConnection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GattConnectionCallback now takes in a scoped_ptr 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_win.cc
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc
index 94dd0e9bed75af142d18f1520efb1cb5ee80be64..a3f018e4279c84f356609b7c1f96ef0b1aba9f2a 100644
--- a/device/bluetooth/bluetooth_device_win.cc
+++ b/device/bluetooth/bluetooth_device_win.cc
@@ -207,6 +207,13 @@ void BluetoothDeviceWin::ConnectToService(
socket->Connect(this, uuid, base::Bind(callback, socket), error_callback);
}
+void BluetoothDeviceWin::CreateGattConnection(
+ const GattConnectionCallback& callback,
+ const ConnectErrorCallback& error_callback) {
+ // TODO(armansito): Implement.
+ error_callback.Run(ERROR_UNKNOWN);
+}
+
void BluetoothDeviceWin::StartConnectionMonitor(
const base::Closure& callback,
const ErrorCallback& error_callback) {

Powered by Google App Engine
This is Rietveld 408576698