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

Unified Diff: device/bluetooth/bluetooth_classic_device_mac.h

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
« no previous file with comments | « device/bluetooth/bluetooth_channel_mac.h ('k') | device/bluetooth/bluetooth_classic_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_classic_device_mac.h
diff --git a/device/bluetooth/bluetooth_classic_device_mac.h b/device/bluetooth/bluetooth_classic_device_mac.h
index c45650560051ef94458e67475c3532ad09d61816..c582d6d7179c9ba2337efd7ded4e8b062052848b 100644
--- a/device/bluetooth/bluetooth_classic_device_mac.h
+++ b/device/bluetooth/bluetooth_classic_device_mac.h
@@ -6,11 +6,12 @@
#define DEVICE_BLUETOOTH_BLUETOOTH_CLASSIC_DEVICE_MAC_H_
#import <IOBluetooth/IOBluetooth.h>
+#include <stdint.h>
#include <string>
-#include "base/basictypes.h"
#include "base/mac/scoped_nsobject.h"
+#include "base/macros.h"
#include "base/observer_list.h"
#include "device/bluetooth/bluetooth_device_mac.h"
@@ -27,20 +28,20 @@ class BluetoothClassicDeviceMac : public BluetoothDeviceMac {
~BluetoothClassicDeviceMac() override;
// BluetoothDevice override
- uint32 GetBluetoothClass() const override;
+ uint32_t GetBluetoothClass() const override;
std::string GetAddress() const override;
VendorIDSource GetVendorIDSource() const override;
- uint16 GetVendorID() const override;
- uint16 GetProductID() const override;
- uint16 GetDeviceID() const override;
+ uint16_t GetVendorID() const override;
+ uint16_t GetProductID() const override;
+ uint16_t GetDeviceID() const override;
bool IsPaired() const override;
bool IsConnected() const override;
bool IsGattConnected() const override;
bool IsConnectable() const override;
bool IsConnecting() const override;
UUIDList GetUUIDs() const override;
- int16 GetInquiryRSSI() const override;
- int16 GetInquiryTxPower() const override;
+ int16_t GetInquiryRSSI() const override;
+ int16_t GetInquiryTxPower() const override;
bool ExpectingPinCode() const override;
bool ExpectingPasskey() const override;
bool ExpectingConfirmation() const override;
@@ -49,7 +50,7 @@ class BluetoothClassicDeviceMac : public BluetoothDeviceMac {
const base::Closure& callback,
const ConnectErrorCallback& error_callback) override;
void SetPinCode(const std::string& pincode) override;
- void SetPasskey(uint32 passkey) override;
+ void SetPasskey(uint32_t passkey) override;
void ConfirmPairing() override;
void RejectPairing() override;
void CancelPairing() override;
« no previous file with comments | « device/bluetooth/bluetooth_channel_mac.h ('k') | device/bluetooth/bluetooth_classic_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698