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

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

Issue 1973343005: Remove service, add device, in BluetoothLocalGattService::Delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 bf1e478caed815a7d9cbf317bdbc383f4b6f689a..851eeade64e304d04da7913f6ecd46a9acf7d59f 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -222,7 +222,6 @@ 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(
- BluetoothLocalGattService* service,
BluetoothLocalGattCharacteristic* characteristic,
const BluetoothLocalGattService::Delegate::ValueCallback& value_callback,
const base::Closure& error_callback) {}
@@ -230,7 +229,6 @@ class BluetoothTestBase : public testing::Test {
// Simulates write a value to a locally hosted GATT characteristic by a
// remote central device.
virtual void SimulateLocalGattCharacteristicValueWriteRequest(
- BluetoothLocalGattService* service,
BluetoothLocalGattCharacteristic* characteristic,
const std::vector<uint8_t>& value_to_write,
const base::Closure& success_callback,
@@ -240,7 +238,6 @@ 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(
- BluetoothLocalGattService* service,
BluetoothLocalGattDescriptor* descriptor,
const BluetoothLocalGattService::Delegate::ValueCallback& value_callback,
const base::Closure& error_callback) {}
@@ -248,7 +245,6 @@ class BluetoothTestBase : public testing::Test {
// Simulates write a value to a locally hosted GATT descriptor by a
// remote central device.
virtual void SimulateLocalGattDescriptorValueWriteRequest(
- BluetoothLocalGattService* service,
BluetoothLocalGattDescriptor* descriptor,
const std::vector<uint8_t>& value_to_write,
const base::Closure& success_callback,
@@ -258,7 +254,6 @@ class BluetoothTestBase : public testing::Test {
// hosted GATT characteristic by a remote device. Returns false if we were
// not able to start or stop notifications.
virtual bool SimulateLocalGattCharacteristicNotificationsRequest(
- BluetoothLocalGattService* service,
BluetoothLocalGattCharacteristic* characteristic,
bool start);
« no previous file with comments | « device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc ('k') | device/bluetooth/test/bluetooth_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698