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

Unified Diff: device/bluetooth/bluetooth_pairing_bluez.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
Index: device/bluetooth/bluetooth_pairing_bluez.cc
diff --git a/device/bluetooth/bluetooth_pairing_bluez.cc b/device/bluetooth/bluetooth_pairing_bluez.cc
index a798694eabfa4335f129686cd6aa70d4924b87f9..776d11adf17dcb166f28595a9fa164d98c964e3c 100644
--- a/device/bluetooth/bluetooth_pairing_bluez.cc
+++ b/device/bluetooth/bluetooth_pairing_bluez.cc
@@ -28,7 +28,7 @@ enum UMAPairingMethod {
// Number of keys that will be entered for a passkey, six digits plus the
// final enter.
-const uint16 kPasskeyMaxKeysEntered = 7;
+const uint16_t kPasskeyMaxKeysEntered = 7;
} // namespace
@@ -135,7 +135,7 @@ bool BluetoothPairingBlueZ::ExpectingPasskey() const {
return !passkey_callback_.is_null();
}
-void BluetoothPairingBlueZ::SetPasskey(uint32 passkey) {
+void BluetoothPairingBlueZ::SetPasskey(uint32_t passkey) {
if (passkey_callback_.is_null())
return;
@@ -150,7 +150,7 @@ void BluetoothPairingBlueZ::SetPasskey(uint32 passkey) {
device_->EndPairing();
}
-void BluetoothPairingBlueZ::DisplayPasskey(uint32 passkey) {
+void BluetoothPairingBlueZ::DisplayPasskey(uint32_t passkey) {
UMA_HISTOGRAM_ENUMERATION("Bluetooth.PairingMethod",
UMA_PAIRING_METHOD_DISPLAY_PASSKEY,
UMA_PAIRING_METHOD_COUNT);
@@ -160,7 +160,7 @@ void BluetoothPairingBlueZ::DisplayPasskey(uint32 passkey) {
pairing_delegate_->DisplayPasskey(device_, passkey);
}
-void BluetoothPairingBlueZ::KeysEntered(uint16 entered) {
+void BluetoothPairingBlueZ::KeysEntered(uint16_t entered) {
pairing_delegate_used_ = true;
pairing_delegate_->KeysEntered(device_, entered);
@@ -172,7 +172,7 @@ void BluetoothPairingBlueZ::KeysEntered(uint16 entered) {
}
void BluetoothPairingBlueZ::RequestConfirmation(
- uint32 passkey,
+ uint32_t passkey,
const bluez::BluetoothAgentServiceProvider::Delegate::ConfirmationCallback&
callback) {
UMA_HISTOGRAM_ENUMERATION("Bluetooth.PairingMethod",
« no previous file with comments | « device/bluetooth/bluetooth_pairing_bluez.h ('k') | device/bluetooth/bluetooth_remote_gatt_characteristic_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698