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

Unified Diff: device/bluetooth/bluetooth_gatt_connection_mac.mm

Issue 1261093004: Adding BluetoothGattConnectionMac class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test3
Patch Set: pulling in landed prev CL 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
« no previous file with comments | « device/bluetooth/bluetooth_gatt_connection_mac.h ('k') | device/bluetooth/bluetooth_socket_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_gatt_connection_mac.mm
diff --git a/device/bluetooth/bluetooth_gatt_connection_mac.mm b/device/bluetooth/bluetooth_gatt_connection_mac.mm
new file mode 100644
index 0000000000000000000000000000000000000000..09b93ee9457d1afc21e34fde53b144a522cbb4f4
--- /dev/null
+++ b/device/bluetooth/bluetooth_gatt_connection_mac.mm
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "device/bluetooth/bluetooth_gatt_connection_mac.h"
+
+namespace device {
+
+BluetoothGattConnectionMac::BluetoothGattConnectionMac(
+ scoped_refptr<BluetoothAdapter> adapter,
+ std::string device_address)
+ : adapter_(adapter), device_address_(device_address) {}
+
+BluetoothGattConnectionMac::~BluetoothGattConnectionMac() {}
+
+// BluetoothGattConenction overrides.
+std::string BluetoothGattConnectionMac::GetDeviceAddress() const {
+ return device_address_;
+}
+
+bool BluetoothGattConnectionMac::IsConnected() {
+ return false;
+}
+
+void BluetoothGattConnectionMac::Disconnect(const base::Closure& callback) {}
+
+} // namespace device
« no previous file with comments | « device/bluetooth/bluetooth_gatt_connection_mac.h ('k') | device/bluetooth/bluetooth_socket_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698