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_CHROMEOS_H | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 VendorIDSource GetVendorIDSource() const override; | 38 VendorIDSource GetVendorIDSource() const override; |
39 uint16 GetVendorID() const override; | 39 uint16 GetVendorID() const override; |
40 uint16 GetProductID() const override; | 40 uint16 GetProductID() const override; |
41 uint16 GetDeviceID() const override; | 41 uint16 GetDeviceID() const override; |
42 bool IsPaired() const override; | 42 bool IsPaired() const override; |
43 bool IsConnected() const override; | 43 bool IsConnected() const override; |
44 bool IsConnectable() const override; | 44 bool IsConnectable() const override; |
45 bool IsConnecting() const override; | 45 bool IsConnecting() const override; |
46 UUIDList GetUUIDs() const override; | 46 UUIDList GetUUIDs() const override; |
47 int16 GetInquiryRSSI() const override; | 47 int16 GetInquiryRSSI() const override; |
| 48 int16 GetInquiryTxPower() const override; |
48 bool ExpectingPinCode() const override; | 49 bool ExpectingPinCode() const override; |
49 bool ExpectingPasskey() const override; | 50 bool ExpectingPasskey() const override; |
50 bool ExpectingConfirmation() const override; | 51 bool ExpectingConfirmation() const override; |
51 void GetConnectionInfo( | 52 void GetConnectionInfo( |
52 const ConnectionInfoCallback& callback) override; | 53 const ConnectionInfoCallback& callback) override; |
53 void Connect(device::BluetoothDevice::PairingDelegate* pairing_delegate, | 54 void Connect(device::BluetoothDevice::PairingDelegate* pairing_delegate, |
54 const base::Closure& callback, | 55 const base::Closure& callback, |
55 const ConnectErrorCallback& error_callback) override; | 56 const ConnectErrorCallback& error_callback) override; |
56 void SetPinCode(const std::string& pincode) override; | 57 void SetPinCode(const std::string& pincode) override; |
57 void SetPasskey(uint32 passkey) override; | 58 void SetPasskey(uint32 passkey) override; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Note: This should remain the last member so it'll be destroyed and | 193 // Note: This should remain the last member so it'll be destroyed and |
193 // invalidate its weak pointers before any other members are destroyed. | 194 // invalidate its weak pointers before any other members are destroyed. |
194 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; | 195 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; |
195 | 196 |
196 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); | 197 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); |
197 }; | 198 }; |
198 | 199 |
199 } // namespace chromeos | 200 } // namespace chromeos |
200 | 201 |
201 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H | 202 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
OLD | NEW |