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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_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
Index: device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.h b/device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.h
index 90afaea7035f5647d67378ea4409fb289836dd0b..9af0913699a60801d2373835741b4f9a0a483184 100644
--- a/device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.h
+++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.h
@@ -5,6 +5,8 @@
#ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_BLUEZ_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_BLUEZ_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -34,13 +36,13 @@ class BluetoothRemoteGattDescriptorBlueZ
std::string GetIdentifier() const override;
device::BluetoothUUID GetUUID() const override;
bool IsLocal() const override;
- const std::vector<uint8>& GetValue() const override;
+ const std::vector<uint8_t>& GetValue() const override;
device::BluetoothGattCharacteristic* GetCharacteristic() const override;
device::BluetoothGattCharacteristic::Permissions GetPermissions()
const override;
void ReadRemoteDescriptor(const ValueCallback& callback,
const ErrorCallback& error_callback) override;
- void WriteRemoteDescriptor(const std::vector<uint8>& new_value,
+ void WriteRemoteDescriptor(const std::vector<uint8_t>& new_value,
const base::Closure& callback,
const ErrorCallback& error_callback) override;

Powered by Google App Engine
This is Rietveld 408576698