| 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_MAC_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual void AddObserver( | 25 virtual void AddObserver( |
| 26 device::BluetoothDevice::Observer* observer) OVERRIDE; | 26 device::BluetoothDevice::Observer* observer) OVERRIDE; |
| 27 virtual void RemoveObserver( | 27 virtual void RemoveObserver( |
| 28 device::BluetoothDevice::Observer* observer) OVERRIDE; | 28 device::BluetoothDevice::Observer* observer) OVERRIDE; |
| 29 virtual uint32 GetBluetoothClass() const OVERRIDE; | 29 virtual uint32 GetBluetoothClass() const OVERRIDE; |
| 30 virtual std::string GetAddress() const OVERRIDE; | 30 virtual std::string GetAddress() const OVERRIDE; |
| 31 virtual VendorIDSource GetVendorIDSource() const OVERRIDE; | 31 virtual VendorIDSource GetVendorIDSource() const OVERRIDE; |
| 32 virtual uint16 GetVendorID() const OVERRIDE; | 32 virtual uint16 GetVendorID() const OVERRIDE; |
| 33 virtual uint16 GetProductID() const OVERRIDE; | 33 virtual uint16 GetProductID() const OVERRIDE; |
| 34 virtual uint16 GetDeviceID() const OVERRIDE; | 34 virtual uint16 GetDeviceID() const OVERRIDE; |
| 35 virtual int GetRSSI() const OVERRIDE; |
| 35 virtual bool IsPaired() const OVERRIDE; | 36 virtual bool IsPaired() const OVERRIDE; |
| 36 virtual bool IsConnected() const OVERRIDE; | 37 virtual bool IsConnected() const OVERRIDE; |
| 37 virtual bool IsConnectable() const OVERRIDE; | 38 virtual bool IsConnectable() const OVERRIDE; |
| 38 virtual bool IsConnecting() const OVERRIDE; | 39 virtual bool IsConnecting() const OVERRIDE; |
| 39 virtual UUIDList GetUUIDs() const OVERRIDE; | 40 virtual UUIDList GetUUIDs() const OVERRIDE; |
| 40 virtual bool ExpectingPinCode() const OVERRIDE; | 41 virtual bool ExpectingPinCode() const OVERRIDE; |
| 41 virtual bool ExpectingPasskey() const OVERRIDE; | 42 virtual bool ExpectingPasskey() const OVERRIDE; |
| 42 virtual bool ExpectingConfirmation() const OVERRIDE; | 43 virtual bool ExpectingConfirmation() const OVERRIDE; |
| 43 virtual void Connect( | 44 virtual void Connect( |
| 44 PairingDelegate* pairing_delegate, | 45 PairingDelegate* pairing_delegate, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 ObserverList<Observer> observers_; | 77 ObserverList<Observer> observers_; |
| 77 | 78 |
| 78 base::scoped_nsobject<IOBluetoothDevice> device_; | 79 base::scoped_nsobject<IOBluetoothDevice> device_; |
| 79 | 80 |
| 80 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); | 81 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 } // namespace device | 84 } // namespace device |
| 84 | 85 |
| 85 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ | 86 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
| OLD | NEW |