| Index: device/bluetooth/dbus/bluetooth_gatt_descriptor_client.cc
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.cc b/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.cc
|
| index d3f9e5f4962299c492ceb3790d201f422d8218d1..ddc314ccac683df0f82f517fa64d162c88227211 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.cc
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.cc
|
| @@ -4,7 +4,10 @@
|
|
|
| #include "device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h"
|
|
|
| +#include <stddef.h>
|
| +
|
| #include "base/bind.h"
|
| +#include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "dbus/bus.h"
|
| @@ -106,7 +109,7 @@ class BluetoothGattDescriptorClientImpl
|
|
|
| // BluetoothGattDescriptorClientImpl override.
|
| void WriteValue(const dbus::ObjectPath& object_path,
|
| - const std::vector<uint8>& value,
|
| + const std::vector<uint8_t>& value,
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) override {
|
| dbus::ObjectProxy* object_proxy =
|
| @@ -194,13 +197,13 @@ class BluetoothGattDescriptorClientImpl
|
| DCHECK(response);
|
| dbus::MessageReader reader(response);
|
|
|
| - const uint8* bytes = NULL;
|
| + const uint8_t* bytes = NULL;
|
| size_t length = 0;
|
|
|
| if (!reader.PopArrayOfBytes(&bytes, &length))
|
| VLOG(2) << "Error reading array of bytes in ValueCallback";
|
|
|
| - std::vector<uint8> value;
|
| + std::vector<uint8_t> value;
|
|
|
| if (bytes)
|
| value.assign(bytes, bytes + length);
|
|
|