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

Unified Diff: device/bluetooth/bluetooth_adapter_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_adapter_android.h ('k') | device/bluetooth/bluetooth_adapter_bluez.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_bluez.h
diff --git a/device/bluetooth/bluetooth_adapter_bluez.h b/device/bluetooth/bluetooth_adapter_bluez.h
index e5bf14670a198a9fec48aee4d16092973faf70d0..f7663722bf1461bb30e4b2d24bbba1048898ee01 100644
--- a/device/bluetooth/bluetooth_adapter_bluez.h
+++ b/device/bluetooth/bluetooth_adapter_bluez.h
@@ -5,6 +5,8 @@
#ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_BLUEZ_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_BLUEZ_H_
+#include <stdint.h>
+
#include <map>
#include <queue>
#include <string>
@@ -140,10 +142,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
BluetoothRemoteGattDescriptorBlueZ* descriptor);
void NotifyGattCharacteristicValueChanged(
BluetoothRemoteGattCharacteristicBlueZ* characteristic,
- const std::vector<uint8>& value);
+ const std::vector<uint8_t>& value);
void NotifyGattDescriptorValueChanged(
BluetoothRemoteGattDescriptorBlueZ* descriptor,
- const std::vector<uint8>& value);
+ const std::vector<uint8_t>& value);
// Returns the object path of the adapter.
const dbus::ObjectPath& object_path() const { return object_path_; }
@@ -219,10 +221,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
void RequestPasskey(const dbus::ObjectPath& device_path,
const PasskeyCallback& callback) override;
void DisplayPasskey(const dbus::ObjectPath& device_path,
- uint32 passkey,
- uint16 entered) override;
+ uint32_t passkey,
+ uint16_t entered) override;
void RequestConfirmation(const dbus::ObjectPath& device_path,
- uint32 passkey,
+ uint32_t passkey,
const ConfirmationCallback& callback) override;
void RequestAuthorization(const dbus::ObjectPath& device_path,
const ConfirmationCallback& callback) override;
« no previous file with comments | « device/bluetooth/bluetooth_adapter_android.h ('k') | device/bluetooth/bluetooth_adapter_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698