| 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/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 virtual void AddObserver( | 30 virtual void AddObserver( |
| 31 device::BluetoothDevice::Observer* observer) OVERRIDE; | 31 device::BluetoothDevice::Observer* observer) OVERRIDE; |
| 32 virtual void RemoveObserver( | 32 virtual void RemoveObserver( |
| 33 device::BluetoothDevice::Observer* observer) OVERRIDE; | 33 device::BluetoothDevice::Observer* observer) OVERRIDE; |
| 34 virtual uint32 GetBluetoothClass() const OVERRIDE; | 34 virtual uint32 GetBluetoothClass() const OVERRIDE; |
| 35 virtual std::string GetAddress() const OVERRIDE; | 35 virtual std::string GetAddress() const OVERRIDE; |
| 36 virtual VendorIDSource GetVendorIDSource() const OVERRIDE; | 36 virtual VendorIDSource GetVendorIDSource() const OVERRIDE; |
| 37 virtual uint16 GetVendorID() const OVERRIDE; | 37 virtual uint16 GetVendorID() const OVERRIDE; |
| 38 virtual uint16 GetProductID() const OVERRIDE; | 38 virtual uint16 GetProductID() const OVERRIDE; |
| 39 virtual uint16 GetDeviceID() const OVERRIDE; | 39 virtual uint16 GetDeviceID() const OVERRIDE; |
| 40 virtual int GetRSSI() const OVERRIDE; |
| 40 virtual bool IsPaired() const OVERRIDE; | 41 virtual bool IsPaired() const OVERRIDE; |
| 41 virtual bool IsConnected() const OVERRIDE; | 42 virtual bool IsConnected() const OVERRIDE; |
| 42 virtual bool IsConnectable() const OVERRIDE; | 43 virtual bool IsConnectable() const OVERRIDE; |
| 43 virtual bool IsConnecting() const OVERRIDE; | 44 virtual bool IsConnecting() const OVERRIDE; |
| 44 virtual UUIDList GetUUIDs() const OVERRIDE; | 45 virtual UUIDList GetUUIDs() const OVERRIDE; |
| 45 virtual bool ExpectingPinCode() const OVERRIDE; | 46 virtual bool ExpectingPinCode() const OVERRIDE; |
| 46 virtual bool ExpectingPasskey() const OVERRIDE; | 47 virtual bool ExpectingPasskey() const OVERRIDE; |
| 47 virtual bool ExpectingConfirmation() const OVERRIDE; | 48 virtual bool ExpectingConfirmation() const OVERRIDE; |
| 48 virtual void Connect( | 49 virtual void Connect( |
| 49 device::BluetoothDevice::PairingDelegate* pairing_delegate, | 50 device::BluetoothDevice::PairingDelegate* pairing_delegate, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // Note: This should remain the last member so it'll be destroyed and | 178 // Note: This should remain the last member so it'll be destroyed and |
| 178 // invalidate its weak pointers before any other members are destroyed. | 179 // invalidate its weak pointers before any other members are destroyed. |
| 179 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; | 180 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; |
| 180 | 181 |
| 181 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); | 182 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); |
| 182 }; | 183 }; |
| 183 | 184 |
| 184 } // namespace chromeos | 185 } // namespace chromeos |
| 185 | 186 |
| 186 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H | 187 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
| OLD | NEW |