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

Unified Diff: device/bluetooth/test/bluetooth_test.h

Issue 1979163002: Add DBus plumbing and tests for sending devices with ATT read/writes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devices
Patch Set: gyp fix Created 4 years, 7 months 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/bluetooth_test.h
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
index 851eeade64e304d04da7913f6ecd46a9acf7d59f..5b7caaf148c8a32926d3642635f6b6f80ae2758c 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -222,6 +222,7 @@ class BluetoothTestBase : public testing::Test {
// remote central device. Returns the value that was read from the local
// GATT characteristic in the value callback.
virtual void SimulateLocalGattCharacteristicValueReadRequest(
+ BluetoothDevice* from_device,
BluetoothLocalGattCharacteristic* characteristic,
const BluetoothLocalGattService::Delegate::ValueCallback& value_callback,
const base::Closure& error_callback) {}
@@ -229,6 +230,7 @@ class BluetoothTestBase : public testing::Test {
// Simulates write a value to a locally hosted GATT characteristic by a
// remote central device.
virtual void SimulateLocalGattCharacteristicValueWriteRequest(
+ BluetoothDevice* from_device,
BluetoothLocalGattCharacteristic* characteristic,
const std::vector<uint8_t>& value_to_write,
const base::Closure& success_callback,
@@ -238,6 +240,7 @@ class BluetoothTestBase : public testing::Test {
// remote central device. Returns the value that was read from the local
// GATT descriptor in the value callback.
virtual void SimulateLocalGattDescriptorValueReadRequest(
+ BluetoothDevice* from_device,
BluetoothLocalGattDescriptor* descriptor,
const BluetoothLocalGattService::Delegate::ValueCallback& value_callback,
const base::Closure& error_callback) {}
@@ -245,6 +248,7 @@ class BluetoothTestBase : public testing::Test {
// Simulates write a value to a locally hosted GATT descriptor by a
// remote central device.
virtual void SimulateLocalGattDescriptorValueWriteRequest(
+ BluetoothDevice* from_device,
BluetoothLocalGattDescriptor* descriptor,
const std::vector<uint8_t>& value_to_write,
const base::Closure& success_callback,
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc ('k') | device/bluetooth/test/bluetooth_test_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698