OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "device/bluetooth/bluetooth_adapter_chromeos_experimental.h" | 5 #include "device/bluetooth/bluetooth_adapter_chromeos_experimental.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 using device::BluetoothAdapter; | 9 using device::BluetoothAdapter; |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 BluetoothAdapterChromeOSExperimental::BluetoothAdapterChromeOSExperimental() | 13 BluetoothAdapterChromeOSExperimental::BluetoothAdapterChromeOSExperimental() |
14 : BluetoothAdapter(), | 14 : BluetoothAdapter(), |
15 weak_ptr_factory_(this) { | 15 weak_ptr_factory_(this) { |
16 } | 16 } |
17 | 17 |
18 BluetoothAdapterChromeOSExperimental::~BluetoothAdapterChromeOSExperimental() { | 18 BluetoothAdapterChromeOSExperimental::~BluetoothAdapterChromeOSExperimental() { |
19 } | 19 } |
20 | 20 |
21 void BluetoothAdapterChromeOSExperimental::AddObserver( | 21 void BluetoothAdapterChromeOSExperimental::AddObserver( |
22 BluetoothAdapter::Observer* observer) { | 22 BluetoothAdapter::Observer* observer) { |
23 } | 23 } |
24 | 24 |
25 void BluetoothAdapterChromeOSExperimental::RemoveObserver( | 25 void BluetoothAdapterChromeOSExperimental::RemoveObserver( |
26 BluetoothAdapter::Observer* observer) { | 26 BluetoothAdapter::Observer* observer) { |
27 } | 27 } |
28 | 28 |
29 std::string BluetoothAdapterChromeOSExperimental::address() const { | |
30 return ""; | |
Mark Mentovai
2013/04/02 18:05:27
return std::string();
Same on line 30.
See https
keybuk
2013/04/02 19:03:09
Done.
| |
31 } | |
32 | |
33 std::string BluetoothAdapterChromeOSExperimental::name() const { | |
34 return ""; | |
35 } | |
36 | |
29 bool BluetoothAdapterChromeOSExperimental::IsInitialized() const { | 37 bool BluetoothAdapterChromeOSExperimental::IsInitialized() const { |
30 return true; | 38 return true; |
31 } | 39 } |
32 | 40 |
33 bool BluetoothAdapterChromeOSExperimental::IsPresent() const { | 41 bool BluetoothAdapterChromeOSExperimental::IsPresent() const { |
34 return false; | 42 return false; |
35 } | 43 } |
36 | 44 |
37 bool BluetoothAdapterChromeOSExperimental::IsPowered() const { | 45 bool BluetoothAdapterChromeOSExperimental::IsPowered() const { |
38 return false; | 46 return false; |
(...skipping 21 matching lines...) Expand all Loading... | |
60 error_callback.Run(); | 68 error_callback.Run(); |
61 } | 69 } |
62 | 70 |
63 void BluetoothAdapterChromeOSExperimental::ReadLocalOutOfBandPairingData( | 71 void BluetoothAdapterChromeOSExperimental::ReadLocalOutOfBandPairingData( |
64 const BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& callback, | 72 const BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& callback, |
65 const ErrorCallback& error_callback) { | 73 const ErrorCallback& error_callback) { |
66 error_callback.Run(); | 74 error_callback.Run(); |
67 } | 75 } |
68 | 76 |
69 } // namespace chromeos | 77 } // namespace chromeos |
OLD | NEW |