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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.mm

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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 side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_device_mac.h ('k') | device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698