diff options
author | avi <avi@chromium.org> | 2015-12-22 11:26:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-22 19:28:03 +0000 |
commit | 176e2693216e9b05a2affea94fe72014c671d65f (patch) | |
tree | c4432cf70f12eccc3e20b5a0522ce51542c407d2 /device/bluetooth/bluetooth_device_win.cc | |
parent | 5ba79938c50a93597768e9261ec7293618e759da (diff) | |
download | chromium_src-176e2693216e9b05a2affea94fe72014c671d65f.zip chromium_src-176e2693216e9b05a2affea94fe72014c671d65f.tar.gz chromium_src-176e2693216e9b05a2affea94fe72014c671d65f.tar.bz2 |
Switch to standard integer types in device/.
BUG=138542
TBR=reillyg@chromium.org
Review URL: https://codereview.chromium.org/1542163002
Cr-Commit-Position: refs/heads/master@{#366628}
Diffstat (limited to 'device/bluetooth/bluetooth_device_win.cc')
-rw-r--r-- | device/bluetooth/bluetooth_device_win.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc index 1efd638..8678576 100644 --- a/device/bluetooth/bluetooth_device_win.cc +++ b/device/bluetooth/bluetooth_device_win.cc @@ -6,7 +6,6 @@ #include <string> -#include "base/basictypes.h" #include "base/containers/scoped_ptr_hash_map.h" #include "base/logging.h" #include "base/memory/scoped_vector.h" @@ -45,7 +44,7 @@ BluetoothDeviceWin::BluetoothDeviceWin( BluetoothDeviceWin::~BluetoothDeviceWin() { } -uint32 BluetoothDeviceWin::GetBluetoothClass() const { +uint32_t BluetoothDeviceWin::GetBluetoothClass() const { return bluetooth_class_; } @@ -58,15 +57,15 @@ BluetoothDeviceWin::GetVendorIDSource() const { return VENDOR_ID_UNKNOWN; } -uint16 BluetoothDeviceWin::GetVendorID() const { +uint16_t BluetoothDeviceWin::GetVendorID() const { return 0; } -uint16 BluetoothDeviceWin::GetProductID() const { +uint16_t BluetoothDeviceWin::GetProductID() const { return 0; } -uint16 BluetoothDeviceWin::GetDeviceID() const { +uint16_t BluetoothDeviceWin::GetDeviceID() const { return 0; } @@ -95,11 +94,11 @@ BluetoothDevice::UUIDList BluetoothDeviceWin::GetUUIDs() const { return uuids_; } -int16 BluetoothDeviceWin::GetInquiryRSSI() const { +int16_t BluetoothDeviceWin::GetInquiryRSSI() const { return kUnknownPower; } -int16 BluetoothDeviceWin::GetInquiryTxPower() const { +int16_t BluetoothDeviceWin::GetInquiryTxPower() const { NOTIMPLEMENTED(); return kUnknownPower; } @@ -136,7 +135,7 @@ void BluetoothDeviceWin::SetPinCode(const std::string& pincode) { NOTIMPLEMENTED(); } -void BluetoothDeviceWin::SetPasskey(uint32 passkey) { +void BluetoothDeviceWin::SetPasskey(uint32_t passkey) { NOTIMPLEMENTED(); } |