Index: device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h |
diff --git a/device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h b/device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h |
index 3c476eb954d280f4352044f18288f5a23ae63e12..fe0a9f7fffc0cdd58a58c13ff82479483717ab04 100644 |
--- a/device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h |
+++ b/device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h |
@@ -5,11 +5,13 @@ |
#ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_CHARACTERISTIC_CLIENT_H_ |
#define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_CHARACTERISTIC_CLIENT_H_ |
+#include <stdint.h> |
+ |
#include <string> |
#include <vector> |
-#include "base/basictypes.h" |
#include "base/callback.h" |
+#include "base/macros.h" |
#include "dbus/object_path.h" |
#include "dbus/property.h" |
#include "device/bluetooth/bluetooth_export.h" |
@@ -79,7 +81,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristicClient |
// Callbacks used to report the result of asynchronous methods. |
typedef base::Callback<void(const std::string& error_name, |
const std::string& error_message)> ErrorCallback; |
- typedef base::Callback<void(const std::vector<uint8>& value)> ValueCallback; |
+ typedef base::Callback<void(const std::vector<uint8_t>& value)> ValueCallback; |
~BluetoothGattCharacteristicClient() override; |
@@ -107,7 +109,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristicClient |
// |object_path| with value |value|. Invokes |callback| on success and |
// |error_callback| on failure. |
virtual 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) = 0; |