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

Unified Diff: device/bluetooth/bluetooth_pairing_bluez.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_low_energy_win_unittest.cc ('k') | device/bluetooth/bluetooth_pairing_bluez.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_pairing_bluez.h
diff --git a/device/bluetooth/bluetooth_pairing_bluez.h b/device/bluetooth/bluetooth_pairing_bluez.h
index 2851fafb3139ce95b155df4336ec138ff3f063cd..85113bf7116db66f454fa053c3e4a1f1446f514f 100644
--- a/device/bluetooth/bluetooth_pairing_bluez.h
+++ b/device/bluetooth/bluetooth_pairing_bluez.h
@@ -5,6 +5,8 @@
#ifndef DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_BLUEZ_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_BLUEZ_H_
+#include <stdint.h>
+
#include "base/macros.h"
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/dbus/bluetooth_agent_service_provider.h"
@@ -67,22 +69,22 @@ class BluetoothPairingBlueZ {
// Passkeys are generally required for Bluetooth 2.1 and later devices
// which cannot provide input or display on their own, and don't accept
// passkey-less pairing, and are a numeric in the range 0-999999.
- void SetPasskey(uint32 passkey);
+ void SetPasskey(uint32_t passkey);
// Requests a Passkey for the current device be displayed by the current
// pairing delegate. No response is expected from the delegate.
- void DisplayPasskey(uint32 passkey);
+ void DisplayPasskey(uint32_t passkey);
// Informs the current pairing delegate that |entered| keys have been
// provided to the remote device since the DisplayPasskey() call. No
// response is expected from the delegate.
- void KeysEntered(uint16 entered);
+ void KeysEntered(uint16_t entered);
// Requests confirmation that |passkey| is displayed on the current device
// from the current pairing delegate. The ConfirmPairing(), RejectPairing()
// and CancelPairing() method calls on this object are translated into the
// appropriate response to |callback|.
- void RequestConfirmation(uint32 passkey,
+ void RequestConfirmation(uint32_t passkey,
const bluez::BluetoothAgentServiceProvider::
Delegate::ConfirmationCallback& callback);
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win_unittest.cc ('k') | device/bluetooth/bluetooth_pairing_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698