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

Unified Diff: device/bluetooth/bluetooth_device_android.cc

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_device_android.h ('k') | device/bluetooth/bluetooth_device_bluez.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_android.cc
diff --git a/device/bluetooth/bluetooth_device_android.cc b/device/bluetooth/bluetooth_device_android.cc
index 5fb025df0c28d674d54fd5043ab6488b3bae7115..ebd78318e52c0bef7a4338feb9edc3a81dcf5bfa 100644
--- a/device/bluetooth/bluetooth_device_android.cc
+++ b/device/bluetooth/bluetooth_device_android.cc
@@ -50,7 +50,7 @@ BluetoothDeviceAndroid::GetJavaObject() {
return base::android::ScopedJavaLocalRef<jobject>(j_device_);
}
-uint32 BluetoothDeviceAndroid::GetBluetoothClass() const {
+uint32_t BluetoothDeviceAndroid::GetBluetoothClass() const {
return Java_ChromeBluetoothDevice_getBluetoothClass(AttachCurrentThread(),
j_device_.obj());
}
@@ -66,17 +66,17 @@ BluetoothDevice::VendorIDSource BluetoothDeviceAndroid::GetVendorIDSource()
return VENDOR_ID_UNKNOWN;
}
-uint16 BluetoothDeviceAndroid::GetVendorID() const {
+uint16_t BluetoothDeviceAndroid::GetVendorID() const {
// Android API does not provide Vendor ID.
return 0;
}
-uint16 BluetoothDeviceAndroid::GetProductID() const {
+uint16_t BluetoothDeviceAndroid::GetProductID() const {
// Android API does not provide Product ID.
return 0;
}
-uint16 BluetoothDeviceAndroid::GetDeviceID() const {
+uint16_t BluetoothDeviceAndroid::GetDeviceID() const {
// Android API does not provide Device ID.
return 0;
}
@@ -118,12 +118,12 @@ BluetoothDevice::UUIDList BluetoothDeviceAndroid::GetUUIDs() const {
return uuids;
}
-int16 BluetoothDeviceAndroid::GetInquiryRSSI() const {
+int16_t BluetoothDeviceAndroid::GetInquiryRSSI() const {
NOTIMPLEMENTED();
return kUnknownPower;
}
-int16 BluetoothDeviceAndroid::GetInquiryTxPower() const {
+int16_t BluetoothDeviceAndroid::GetInquiryTxPower() const {
NOTIMPLEMENTED();
return kUnknownPower;
}
@@ -160,7 +160,7 @@ void BluetoothDeviceAndroid::SetPinCode(const std::string& pincode) {
NOTIMPLEMENTED();
}
-void BluetoothDeviceAndroid::SetPasskey(uint32 passkey) {
+void BluetoothDeviceAndroid::SetPasskey(uint32_t passkey) {
NOTIMPLEMENTED();
}
« no previous file with comments | « device/bluetooth/bluetooth_device_android.h ('k') | device/bluetooth/bluetooth_device_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698