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

Side by Side Diff: device/bluetooth/bluetooth_adapter_mac.h

Issue 293063015: Bluetooth: remove Out of Band Pairing APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_
7 7
8 #include <IOKit/IOReturn.h> 8 #include <IOKit/IOReturn.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void SetPowered( 51 virtual void SetPowered(
52 bool powered, 52 bool powered,
53 const base::Closure& callback, 53 const base::Closure& callback,
54 const ErrorCallback& error_callback) OVERRIDE; 54 const ErrorCallback& error_callback) OVERRIDE;
55 virtual bool IsDiscoverable() const OVERRIDE; 55 virtual bool IsDiscoverable() const OVERRIDE;
56 virtual void SetDiscoverable( 56 virtual void SetDiscoverable(
57 bool discoverable, 57 bool discoverable,
58 const base::Closure& callback, 58 const base::Closure& callback,
59 const ErrorCallback& error_callback) OVERRIDE; 59 const ErrorCallback& error_callback) OVERRIDE;
60 virtual bool IsDiscovering() const OVERRIDE; 60 virtual bool IsDiscovering() const OVERRIDE;
61 virtual void ReadLocalOutOfBandPairingData(
62 const BluetoothOutOfBandPairingDataCallback& callback,
63 const ErrorCallback& error_callback) OVERRIDE;
64 virtual void CreateRfcommService( 61 virtual void CreateRfcommService(
65 const BluetoothUUID& uuid, 62 const BluetoothUUID& uuid,
66 int channel, 63 int channel,
67 bool insecure, 64 bool insecure,
68 const CreateServiceCallback& callback, 65 const CreateServiceCallback& callback,
69 const CreateServiceErrorCallback& error_callback) OVERRIDE; 66 const CreateServiceErrorCallback& error_callback) OVERRIDE;
70 virtual void CreateL2capService( 67 virtual void CreateL2capService(
71 const BluetoothUUID& uuid, 68 const BluetoothUUID& uuid,
72 int psm, 69 int psm,
73 const CreateServiceCallback& callback, 70 const CreateServiceCallback& callback,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 ObserverList<BluetoothAdapter::Observer> observers_; 146 ObserverList<BluetoothAdapter::Observer> observers_;
150 147
151 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; 148 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_;
152 149
153 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); 150 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac);
154 }; 151 };
155 152
156 } // namespace device 153 } // namespace device
157 154
158 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ 155 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_chromeos.cc ('k') | device/bluetooth/bluetooth_adapter_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698