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 |