| 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 base::Optional<std::string> GetName() const override; | 44 base::Optional<std::string> GetName() const override; |
| 45 bool IsPaired() const override; | 45 bool IsPaired() const override; |
| 46 bool IsConnected() const override; | 46 bool IsConnected() const override; |
| 47 bool IsGattConnected() const override; | 47 bool IsGattConnected() const override; |
| 48 bool IsConnectable() const override; | 48 bool IsConnectable() const override; |
| 49 bool IsConnecting() const override; | 49 bool IsConnecting() const override; |
| 50 UUIDList GetUUIDs() const override; | 50 UUIDSet GetUUIDs() const override; |
| 51 base::Optional<int8_t> GetInquiryRSSI() const override; | 51 base::Optional<int8_t> GetInquiryRSSI() const override; |
| 52 base::Optional<int8_t> GetInquiryTxPower() const override; | 52 base::Optional<int8_t> GetInquiryTxPower() const override; |
| 53 bool ExpectingPinCode() const override; | 53 bool ExpectingPinCode() const override; |
| 54 bool ExpectingPasskey() const override; | 54 bool ExpectingPasskey() const override; |
| 55 bool ExpectingConfirmation() const override; | 55 bool ExpectingConfirmation() const override; |
| 56 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; | 56 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; |
| 57 void Connect(PairingDelegate* pairing_delegate, | 57 void Connect(PairingDelegate* pairing_delegate, |
| 58 const base::Closure& callback, | 58 const base::Closure& callback, |
| 59 const ConnectErrorCallback& error_callback) override; | 59 const ConnectErrorCallback& error_callback) override; |
| 60 void SetPinCode(const std::string& pincode) override; | 60 void SetPinCode(const std::string& pincode) override; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // Tracked device state, updated by the adapter managing the lifecycle of | 142 // Tracked device state, updated by the adapter managing the lifecycle of |
| 143 // the device. | 143 // the device. |
| 144 bool paired_; | 144 bool paired_; |
| 145 bool connected_; | 145 bool connected_; |
| 146 | 146 |
| 147 // Used to send change notifications when a device disappears during | 147 // Used to send change notifications when a device disappears during |
| 148 // discovery. | 148 // discovery. |
| 149 bool visible_; | 149 bool visible_; |
| 150 | 150 |
| 151 // The services (identified by UUIDs) that this device provides. | 151 // The services (identified by UUIDs) that this device provides. |
| 152 UUIDList uuids_; | 152 UUIDSet uuids_; |
| 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 |