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

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

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « device/bluetooth/test/bluetooth_test_bluez.cc ('k') | device/bluetooth/test/bluetooth_test_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test_win.h
diff --git a/device/bluetooth/test/bluetooth_test_win.h b/device/bluetooth/test/bluetooth_test_win.h
index d5574ed322ed75a5a2508331ab157ca4c4b853df..9bc46a6611265261fa9f826884572d5e0a14ecac 100644
--- a/device/bluetooth/test/bluetooth_test_win.h
+++ b/device/bluetooth/test/bluetooth_test_win.h
@@ -37,33 +37,33 @@ class BluetoothTestWin : public BluetoothTestBase,
void SimulateGattServicesDiscovered(
BluetoothDevice* device,
const std::vector<std::string>& uuids) override;
- void SimulateGattServiceRemoved(BluetoothGattService* service) override;
- void SimulateGattCharacteristic(BluetoothGattService* service,
+ void SimulateGattServiceRemoved(BluetoothRemoteGattService* service) override;
+ void SimulateGattCharacteristic(BluetoothRemoteGattService* service,
const std::string& uuid,
int properties) override;
void SimulateGattCharacteristicRemoved(
- BluetoothGattService* service,
- BluetoothGattCharacteristic* characteristic) override;
+ BluetoothRemoteGattService* service,
+ BluetoothRemoteGattCharacteristic* characteristic) override;
void RememberCharacteristicForSubsequentAction(
- BluetoothGattCharacteristic* characteristic) override;
+ BluetoothRemoteGattCharacteristic* characteristic) override;
void SimulateGattCharacteristicRead(
- BluetoothGattCharacteristic* characteristic,
+ BluetoothRemoteGattCharacteristic* characteristic,
const std::vector<uint8_t>& value) override;
void SimulateGattCharacteristicReadError(
- BluetoothGattCharacteristic* characteristic,
- BluetoothGattService::GattErrorCode error_code) override;
+ BluetoothRemoteGattCharacteristic* characteristic,
+ BluetoothRemoteGattService::GattErrorCode error_code) override;
void SimulateGattCharacteristicWrite(
- BluetoothGattCharacteristic* characteristic) override;
+ BluetoothRemoteGattCharacteristic* characteristic) override;
void SimulateGattCharacteristicWriteError(
- BluetoothGattCharacteristic* characteristic,
- BluetoothGattService::GattErrorCode error_code) override;
+ BluetoothRemoteGattCharacteristic* characteristic,
+ BluetoothRemoteGattService::GattErrorCode error_code) override;
void DeleteDevice(BluetoothDevice* device) override;
- void SimulateGattDescriptor(BluetoothGattCharacteristic* characteristic,
+ void SimulateGattDescriptor(BluetoothRemoteGattCharacteristic* characteristic,
const std::string& uuid) override;
void SimulateGattNotifySessionStarted(
- BluetoothGattCharacteristic* characteristic) override;
+ BluetoothRemoteGattCharacteristic* characteristic) override;
void SimulateGattCharacteristicChanged(
- BluetoothGattCharacteristic* characteristic,
+ BluetoothRemoteGattCharacteristic* characteristic,
const std::vector<uint8_t>& value) override;
// win::BluetoothLowEnergyWrapperFake::Observer overrides.
@@ -83,9 +83,9 @@ class BluetoothTestWin : public BluetoothTestBase,
void AdapterInitCallback();
win::GattService* GetSimulatedService(win::BLEDevice* device,
- BluetoothGattService* service);
+ BluetoothRemoteGattService* service);
win::GattCharacteristic* GetSimulatedCharacteristic(
- BluetoothGattCharacteristic* characteristic);
+ BluetoothRemoteGattCharacteristic* characteristic);
// Run pending Bluetooth tasks until the first callback that the test fixture
// tracks is called.
« no previous file with comments | « device/bluetooth/test/bluetooth_test_bluez.cc ('k') | device/bluetooth/test/bluetooth_test_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698