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

Side by Side Diff: device/bluetooth/bluetooth_adapter_chromeos_experimental.cc

Issue 13224004: Bluetooth: remove private members from BluetoothAdapter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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 std::string();
31 }
32
33 std::string BluetoothAdapterChromeOSExperimental::name() const {
34 return std::string();
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
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
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_chromeos_experimental.h ('k') | device/bluetooth/bluetooth_adapter_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698