OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "device/bluetooth/bluetooth_gatt_connection_mac.h" |
| 6 |
| 7 namespace device { |
| 8 |
| 9 BluetoothGattConnectionMac::BluetoothGattConnectionMac( |
| 10 scoped_refptr<BluetoothAdapter> adapter, |
| 11 std::string device_address) |
| 12 : adapter_(adapter), device_address_(device_address) {} |
| 13 |
| 14 BluetoothGattConnectionMac::~BluetoothGattConnectionMac() {} |
| 15 |
| 16 // BluetoothGattConenction overrides. |
| 17 std::string BluetoothGattConnectionMac::GetDeviceAddress() const { |
| 18 return device_address_; |
| 19 } |
| 20 |
| 21 bool BluetoothGattConnectionMac::IsConnected() { |
| 22 return false; |
| 23 } |
| 24 |
| 25 void BluetoothGattConnectionMac::Disconnect(const base::Closure& callback) {} |
| 26 |
| 27 } // namespace device |
OLD | NEW |