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

Side by Side Diff: device/bluetooth/bluetooth_device_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
« no previous file with comments | « device/bluetooth/bluetooth_device_chromeos.cc ('k') | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DEVICE_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
7 7
8 #import <IOBluetooth/IOBluetooth.h> 8 #import <IOBluetooth/IOBluetooth.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const ErrorCallback& error_callback) OVERRIDE; 59 const ErrorCallback& error_callback) OVERRIDE;
60 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; 60 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE;
61 virtual void ConnectToProfile( 61 virtual void ConnectToProfile(
62 BluetoothProfile* profile, 62 BluetoothProfile* profile,
63 const base::Closure& callback, 63 const base::Closure& callback,
64 const ConnectToProfileErrorCallback& error_callback) OVERRIDE; 64 const ConnectToProfileErrorCallback& error_callback) OVERRIDE;
65 virtual void ConnectToService( 65 virtual void ConnectToService(
66 const BluetoothUUID& uuid, 66 const BluetoothUUID& uuid,
67 const ConnectToServiceCallback& callback, 67 const ConnectToServiceCallback& callback,
68 const ConnectToServiceErrorCallback& error_callback) OVERRIDE; 68 const ConnectToServiceErrorCallback& error_callback) OVERRIDE;
69 virtual void SetOutOfBandPairingData(
70 const BluetoothOutOfBandPairingData& data,
71 const base::Closure& callback,
72 const ErrorCallback& error_callback) OVERRIDE;
73 virtual void ClearOutOfBandPairingData(
74 const base::Closure& callback,
75 const ErrorCallback& error_callback) OVERRIDE;
76 virtual void StartConnectionMonitor( 69 virtual void StartConnectionMonitor(
77 const base::Closure& callback, 70 const base::Closure& callback,
78 const ErrorCallback& error_callback) OVERRIDE; 71 const ErrorCallback& error_callback) OVERRIDE;
79 72
80 // Returns the Bluetooth address for the |device|. The returned address has a 73 // Returns the Bluetooth address for the |device|. The returned address has a
81 // normalized format (see below). 74 // normalized format (see below).
82 static std::string GetDeviceAddress(IOBluetoothDevice* device); 75 static std::string GetDeviceAddress(IOBluetoothDevice* device);
83 76
84 protected: 77 protected:
85 // BluetoothDevice override 78 // BluetoothDevice override
(...skipping 11 matching lines...) Expand all
97 ObserverList<Observer> observers_; 90 ObserverList<Observer> observers_;
98 91
99 base::scoped_nsobject<IOBluetoothDevice> device_; 92 base::scoped_nsobject<IOBluetoothDevice> device_;
100 93
101 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); 94 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
102 }; 95 };
103 96
104 } // namespace device 97 } // namespace device
105 98
106 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 99 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_chromeos.cc ('k') | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698