OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 VendorIDSource GetVendorIDSource() const override; | 29 VendorIDSource GetVendorIDSource() const override; |
30 uint16 GetVendorID() const override; | 30 uint16 GetVendorID() const override; |
31 uint16 GetProductID() const override; | 31 uint16 GetProductID() const override; |
32 uint16 GetDeviceID() const override; | 32 uint16 GetDeviceID() const override; |
33 bool IsPaired() const override; | 33 bool IsPaired() const override; |
34 bool IsConnected() const override; | 34 bool IsConnected() const override; |
35 bool IsConnectable() const override; | 35 bool IsConnectable() const override; |
36 bool IsConnecting() const override; | 36 bool IsConnecting() const override; |
37 UUIDList GetUUIDs() const override; | 37 UUIDList GetUUIDs() const override; |
38 int16 GetInquiryRSSI() const override; | 38 int16 GetInquiryRSSI() const override; |
| 39 int16 GetInquiryTxPower() const override; |
39 bool ExpectingPinCode() const override; | 40 bool ExpectingPinCode() const override; |
40 bool ExpectingPasskey() const override; | 41 bool ExpectingPasskey() const override; |
41 bool ExpectingConfirmation() const override; | 42 bool ExpectingConfirmation() const override; |
42 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; | 43 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; |
43 void Connect(PairingDelegate* pairing_delegate, | 44 void Connect(PairingDelegate* pairing_delegate, |
44 const base::Closure& callback, | 45 const base::Closure& callback, |
45 const ConnectErrorCallback& error_callback) override; | 46 const ConnectErrorCallback& error_callback) override; |
46 void SetPinCode(const std::string& pincode) override; | 47 void SetPinCode(const std::string& pincode) override; |
47 void SetPasskey(uint32 passkey) override; | 48 void SetPasskey(uint32 passkey) override; |
48 void ConfirmPairing() override; | 49 void ConfirmPairing() override; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 BluetoothHCITransmitPowerLevelType power_level_type) const; | 85 BluetoothHCITransmitPowerLevelType power_level_type) const; |
85 | 86 |
86 base::scoped_nsobject<IOBluetoothDevice> device_; | 87 base::scoped_nsobject<IOBluetoothDevice> device_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); | 89 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace device | 92 } // namespace device |
92 | 93 |
93 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ | 94 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
OLD | NEW |