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

Side by Side Diff: device/bluetooth/bluetooth_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: 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 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 #import <IOBluetooth/IOBluetooth.h> 8 #import <IOBluetooth/IOBluetooth.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 18 matching lines...) Expand all
29 VendorIDSource GetVendorIDSource() const override; 29 VendorIDSource GetVendorIDSource() const override;
30 uint16 GetVendorID() const override; 30 uint16 GetVendorID() const override;
31 uint16 GetProductID() const override; 31 uint16 GetProductID() const override;
32 uint16 GetDeviceID() const override; 32 uint16 GetDeviceID() const override;
33 bool IsPaired() const override; 33 bool IsPaired() const override;
34 bool IsConnected() const override; 34 bool IsConnected() const override;
35 bool IsConnectable() const override; 35 bool IsConnectable() const override;
36 bool IsConnecting() const override; 36 bool IsConnecting() const override;
37 UUIDList GetUUIDs() const override; 37 UUIDList GetUUIDs() const override;
38 int16 GetInquiryRSSI() const override; 38 int16 GetInquiryRSSI() const override;
39 int16 GetInquiryTxPower() const override;
39 bool ExpectingPinCode() const override; 40 bool ExpectingPinCode() const override;
40 bool ExpectingPasskey() const override; 41 bool ExpectingPasskey() const override;
41 bool ExpectingConfirmation() const override; 42 bool ExpectingConfirmation() const override;
42 void GetConnectionInfo(const ConnectionInfoCallback& callback) override; 43 void GetConnectionInfo(const ConnectionInfoCallback& callback) override;
43 void Connect(PairingDelegate* pairing_delegate, 44 void Connect(PairingDelegate* pairing_delegate,
44 const base::Closure& callback, 45 const base::Closure& callback,
45 const ConnectErrorCallback& error_callback) override; 46 const ConnectErrorCallback& error_callback) override;
46 void SetPinCode(const std::string& pincode) override; 47 void SetPinCode(const std::string& pincode) override;
47 void SetPasskey(uint32 passkey) override; 48 void SetPasskey(uint32 passkey) override;
48 void ConfirmPairing() override; 49 void ConfirmPairing() override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 BluetoothHCITransmitPowerLevelType power_level_type) const; 85 BluetoothHCITransmitPowerLevelType power_level_type) const;
85 86
86 base::scoped_nsobject<IOBluetoothDevice> device_; 87 base::scoped_nsobject<IOBluetoothDevice> device_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); 89 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
89 }; 90 };
90 91
91 } // namespace device 92 } // namespace device
92 93
93 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 94 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698