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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 29 matching lines...) Expand all Loading... |
40 uint16_t GetVendorID() const override; | 40 uint16_t GetVendorID() const override; |
41 uint16_t GetProductID() const override; | 41 uint16_t GetProductID() const override; |
42 uint16_t GetDeviceID() const override; | 42 uint16_t GetDeviceID() const override; |
43 uint16_t GetAppearance() const override; | 43 uint16_t GetAppearance() const override; |
44 bool IsPaired() const override; | 44 bool IsPaired() const override; |
45 bool IsConnected() const override; | 45 bool IsConnected() const override; |
46 bool IsGattConnected() const override; | 46 bool IsGattConnected() const override; |
47 bool IsConnectable() const override; | 47 bool IsConnectable() const override; |
48 bool IsConnecting() const override; | 48 bool IsConnecting() const override; |
49 UUIDList GetUUIDs() const override; | 49 UUIDList GetUUIDs() const override; |
50 int16_t GetInquiryRSSI() const override; | 50 base::Optional<int8_t> GetInquiryRSSI() const override; |
51 int16_t GetInquiryTxPower() const override; | 51 base::Optional<int8_t> GetInquiryTxPower() const override; |
52 bool ExpectingPinCode() const override; | 52 bool ExpectingPinCode() const override; |
53 bool ExpectingPasskey() const override; | 53 bool ExpectingPasskey() const override; |
54 bool ExpectingConfirmation() const override; | 54 bool ExpectingConfirmation() const override; |
55 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; | 55 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; |
56 void Connect(PairingDelegate* pairing_delegate, | 56 void Connect(PairingDelegate* pairing_delegate, |
57 const base::Closure& callback, | 57 const base::Closure& callback, |
58 const ConnectErrorCallback& error_callback) override; | 58 const ConnectErrorCallback& error_callback) override; |
59 void SetPinCode(const std::string& pincode) override; | 59 void SetPinCode(const std::string& pincode) override; |
60 void SetPasskey(uint32_t passkey) override; | 60 void SetPasskey(uint32_t passkey) override; |
61 void ConfirmPairing() override; | 61 void ConfirmPairing() override; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 // The service records retrieved from SDP. | 154 // The service records retrieved from SDP. |
155 ServiceRecordList service_record_list_; | 155 ServiceRecordList service_record_list_; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 157 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
158 }; | 158 }; |
159 | 159 |
160 } // namespace device | 160 } // namespace device |
161 | 161 |
162 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 162 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
OLD | NEW |