OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 VendorIDSource GetVendorIDSource() const override; | 36 VendorIDSource GetVendorIDSource() const override; |
37 uint16 GetVendorID() const override; | 37 uint16 GetVendorID() const override; |
38 uint16 GetProductID() const override; | 38 uint16 GetProductID() const override; |
39 uint16 GetDeviceID() const override; | 39 uint16 GetDeviceID() const override; |
40 bool IsPaired() const override; | 40 bool IsPaired() const override; |
41 bool IsConnected() const override; | 41 bool IsConnected() const override; |
42 bool IsConnectable() const override; | 42 bool IsConnectable() const override; |
43 bool IsConnecting() const override; | 43 bool IsConnecting() const override; |
44 UUIDList GetUUIDs() const override; | 44 UUIDList GetUUIDs() const override; |
45 int16 GetInquiryRSSI() const override; | 45 int16 GetInquiryRSSI() const override; |
| 46 int16 GetInquiryTxPower() const override; |
46 bool ExpectingPinCode() const override; | 47 bool ExpectingPinCode() const override; |
47 bool ExpectingPasskey() const override; | 48 bool ExpectingPasskey() const override; |
48 bool ExpectingConfirmation() const override; | 49 bool ExpectingConfirmation() const override; |
49 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; | 50 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; |
50 void Connect(PairingDelegate* pairing_delegate, | 51 void Connect(PairingDelegate* pairing_delegate, |
51 const base::Closure& callback, | 52 const base::Closure& callback, |
52 const ConnectErrorCallback& error_callback) override; | 53 const ConnectErrorCallback& error_callback) override; |
53 void SetPinCode(const std::string& pincode) override; | 54 void SetPinCode(const std::string& pincode) override; |
54 void SetPasskey(uint32 passkey) override; | 55 void SetPasskey(uint32 passkey) override; |
55 void ConfirmPairing() override; | 56 void ConfirmPairing() override; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 129 |
129 // The service records retrieved from SDP. | 130 // The service records retrieved from SDP. |
130 ServiceRecordList service_record_list_; | 131 ServiceRecordList service_record_list_; |
131 | 132 |
132 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 133 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace device | 136 } // namespace device |
136 | 137 |
137 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 138 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
OLD | NEW |