Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 1133173002: Expose TxPower for bluetooth devices during discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added unittests Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_LOW_ENERGY_DEVICE_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_
7 7
8 #if defined(OS_IOS) 8 #if defined(OS_IOS)
9 #import <CoreBluetooth/CoreBluetooth.h> 9 #import <CoreBluetooth/CoreBluetooth.h>
10 #else 10 #else
(...skipping 24 matching lines...) Expand all
35 BluetoothDevice::VendorIDSource GetVendorIDSource() const override; 35 BluetoothDevice::VendorIDSource GetVendorIDSource() const override;
36 uint16 GetVendorID() const override; 36 uint16 GetVendorID() const override;
37 uint16 GetProductID() const override; 37 uint16 GetProductID() const override;
38 uint16 GetDeviceID() const override; 38 uint16 GetDeviceID() const override;
39 bool IsPaired() const override; 39 bool IsPaired() const override;
40 bool IsConnected() const override; 40 bool IsConnected() const override;
41 bool IsConnectable() const override; 41 bool IsConnectable() const override;
42 bool IsConnecting() const override; 42 bool IsConnecting() const override;
43 BluetoothDevice::UUIDList GetUUIDs() const override; 43 BluetoothDevice::UUIDList GetUUIDs() const override;
44 int16 GetInquiryRSSI() const override; 44 int16 GetInquiryRSSI() const override;
45 int16 GetInquiryTxPower() const override;
45 bool ExpectingPinCode() const override; 46 bool ExpectingPinCode() const override;
46 bool ExpectingPasskey() const override; 47 bool ExpectingPasskey() const override;
47 bool ExpectingConfirmation() const override; 48 bool ExpectingConfirmation() const override;
48 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; 49 void GetConnectionInfo(const ConnectionInfoCallback& callback) override;
49 void Connect(PairingDelegate* pairing_delegate, 50 void Connect(PairingDelegate* pairing_delegate,
50 const base::Closure& callback, 51 const base::Closure& callback,
51 const ConnectErrorCallback& error_callback) override; 52 const ConnectErrorCallback& error_callback) override;
52 void SetPinCode(const std::string& pincode) override; 53 void SetPinCode(const std::string& pincode) override;
53 void SetPasskey(uint32 passkey) override; 54 void SetPasskey(uint32 passkey) override;
54 void ConfirmPairing() override; 55 void ConfirmPairing() override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 // Whether the device is connectable. 93 // Whether the device is connectable.
93 bool connectable_; 94 bool connectable_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac); 96 DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac);
96 }; 97 };
97 98
98 } // namespace device 99 } // namespace device
99 100
100 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_ 101 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_win.cc ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698