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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_descriptor_client.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/dbus/bluetooth_gatt_descriptor_client.h
diff --git a/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h b/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h
index 364331e59c250268fee11dee2202bfbfdb87f707..2ba7f165c7b49cddb9022c3ade1e9e39afafb0d5 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h
+++ b/device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h
@@ -5,11 +5,13 @@
#ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_
#define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_DESCRIPTOR_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"
@@ -65,7 +67,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattDescriptorClient
// 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;
~BluetoothGattDescriptorClient() override;
@@ -93,7 +95,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattDescriptorClient
// |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;

Powered by Google App Engine
This is Rietveld 408576698