| Index: device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.mm b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| index 64b74920e18273b823a13b79b914ec2b474311de..677c59557087bc8be0e1cb5f92a9d631ec910e7b 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| +++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| @@ -5,6 +5,7 @@
|
| #include "device/bluetooth/bluetooth_low_energy_device_mac.h"
|
|
|
| #import <CoreFoundation/CoreFoundation.h>
|
| +#include <stddef.h>
|
|
|
| #include "base/mac/mac_util.h"
|
| #include "base/mac/scoped_cftyperef.h"
|
| @@ -80,7 +81,7 @@ std::string BluetoothLowEnergyDeviceMac::GetIdentifier() const {
|
| return identifier_;
|
| }
|
|
|
| -uint32 BluetoothLowEnergyDeviceMac::GetBluetoothClass() const {
|
| +uint32_t BluetoothLowEnergyDeviceMac::GetBluetoothClass() const {
|
| return 0x1F00; // Unspecified Device Class
|
| }
|
|
|
| @@ -93,15 +94,15 @@ BluetoothDevice::VendorIDSource BluetoothLowEnergyDeviceMac::GetVendorIDSource()
|
| return VENDOR_ID_UNKNOWN;
|
| }
|
|
|
| -uint16 BluetoothLowEnergyDeviceMac::GetVendorID() const {
|
| +uint16_t BluetoothLowEnergyDeviceMac::GetVendorID() const {
|
| return 0;
|
| }
|
|
|
| -uint16 BluetoothLowEnergyDeviceMac::GetProductID() const {
|
| +uint16_t BluetoothLowEnergyDeviceMac::GetProductID() const {
|
| return 0;
|
| }
|
|
|
| -uint16 BluetoothLowEnergyDeviceMac::GetDeviceID() const {
|
| +uint16_t BluetoothLowEnergyDeviceMac::GetDeviceID() const {
|
| return 0;
|
| }
|
|
|
| @@ -134,11 +135,11 @@ BluetoothDevice::UUIDList BluetoothLowEnergyDeviceMac::GetUUIDs() const {
|
| advertised_uuids_.end());
|
| }
|
|
|
| -int16 BluetoothLowEnergyDeviceMac::GetInquiryRSSI() const {
|
| +int16_t BluetoothLowEnergyDeviceMac::GetInquiryRSSI() const {
|
| return kUnknownPower;
|
| }
|
|
|
| -int16 BluetoothLowEnergyDeviceMac::GetInquiryTxPower() const {
|
| +int16_t BluetoothLowEnergyDeviceMac::GetInquiryTxPower() const {
|
| NOTIMPLEMENTED();
|
| return kUnknownPower;
|
| }
|
| @@ -171,7 +172,7 @@ void BluetoothLowEnergyDeviceMac::SetPinCode(const std::string& pincode) {
|
| NOTIMPLEMENTED();
|
| }
|
|
|
| -void BluetoothLowEnergyDeviceMac::SetPasskey(uint32 passkey) {
|
| +void BluetoothLowEnergyDeviceMac::SetPasskey(uint32_t passkey) {
|
| NOTIMPLEMENTED();
|
| }
|
|
|
|
|