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

Side by Side 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« 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