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

Unified Diff: device/bluetooth/test/test_bluetooth_adapter_observer.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/test/test_bluetooth_adapter_observer.h
diff --git a/device/bluetooth/test/test_bluetooth_adapter_observer.h b/device/bluetooth/test/test_bluetooth_adapter_observer.h
index 60b30884847b65c0171394a76a6472184e5fff47..3c4863449d6c46ecf750b7d4fe071aded11cbe07 100644
--- a/device/bluetooth/test/test_bluetooth_adapter_observer.h
+++ b/device/bluetooth/test/test_bluetooth_adapter_observer.h
@@ -5,6 +5,9 @@
#ifndef DEVICE_BLUETOOTH_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
#define DEVICE_BLUETOOTH_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
+#include <stdint.h>
+
+#include "base/macros.h"
#include "device/bluetooth/bluetooth_adapter.h"
namespace device {
@@ -59,10 +62,10 @@ class TestBluetoothAdapterObserver : public BluetoothAdapter::Observer {
void GattCharacteristicValueChanged(
BluetoothAdapter* adapter,
BluetoothGattCharacteristic* characteristic,
- const std::vector<uint8>& value) override;
+ const std::vector<uint8_t>& value) override;
void GattDescriptorValueChanged(BluetoothAdapter* adapter,
BluetoothGattDescriptor* descriptor,
- const std::vector<uint8>& value) override;
+ const std::vector<uint8_t>& value) override;
// Adapter related:
int present_changed_count() { return present_changed_count_; }
@@ -111,14 +114,14 @@ class TestBluetoothAdapterObserver : public BluetoothAdapter::Observer {
BluetoothUUID last_gatt_characteristic_uuid() {
return last_gatt_characteristic_uuid_;
}
- std::vector<uint8> last_changed_characteristic_value() {
+ std::vector<uint8_t> last_changed_characteristic_value() {
return last_changed_characteristic_value_;
}
std::string last_gatt_descriptor_id() { return last_gatt_descriptor_id_; }
BluetoothUUID last_gatt_descriptor_uuid() {
return last_gatt_descriptor_uuid_;
}
- std::vector<uint8> last_changed_descriptor_value() {
+ std::vector<uint8_t> last_changed_descriptor_value() {
return last_changed_descriptor_value_;
}
@@ -162,10 +165,10 @@ class TestBluetoothAdapterObserver : public BluetoothAdapter::Observer {
BluetoothUUID last_gatt_service_uuid_;
std::string last_gatt_characteristic_id_;
BluetoothUUID last_gatt_characteristic_uuid_;
- std::vector<uint8> last_changed_characteristic_value_;
+ std::vector<uint8_t> last_changed_characteristic_value_;
std::string last_gatt_descriptor_id_;
BluetoothUUID last_gatt_descriptor_uuid_;
- std::vector<uint8> last_changed_descriptor_value_;
+ std::vector<uint8_t> last_changed_descriptor_value_;
DISALLOW_COPY_AND_ASSIGN(TestBluetoothAdapterObserver);
};
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_gatt_service.h ('k') | device/bluetooth/test/test_bluetooth_adapter_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698