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

Unified Diff: device/bluetooth/test/test_bluetooth_adapter_observer.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
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 dc4d598f58a24e492091fd9b7b465a6bc7e7d2a1..004682acc6acd8bcfdd23be075f0aed315a113df 100644
--- a/device/bluetooth/test/test_bluetooth_adapter_observer.h
+++ b/device/bluetooth/test/test_bluetooth_adapter_observer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_BLUETOOTH_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
-#define DEVICE_BLUETOOTH_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
+#ifndef DEVICE_BLUETOOTH_TEST_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
+#define DEVICE_BLUETOOTH_TEST_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
#include <stdint.h>
#include <string>
@@ -47,32 +47,34 @@ class TestBluetoothAdapterObserver : public BluetoothAdapter::Observer {
BluetoothDevice* device) override;
void GattServiceAdded(BluetoothAdapter* adapter,
BluetoothDevice* device,
- BluetoothGattService* service) override;
+ BluetoothRemoteGattService* service) override;
void GattServiceRemoved(BluetoothAdapter* adapter,
BluetoothDevice* device,
- BluetoothGattService* service) override;
+ BluetoothRemoteGattService* service) override;
void GattServicesDiscovered(BluetoothAdapter* adapter,
BluetoothDevice* device) override;
- void GattDiscoveryCompleteForService(BluetoothAdapter* adapter,
- BluetoothGattService* service) override;
+ void GattDiscoveryCompleteForService(
+ BluetoothAdapter* adapter,
+ BluetoothRemoteGattService* service) override;
void GattServiceChanged(BluetoothAdapter* adapter,
- BluetoothGattService* service) override;
+ BluetoothRemoteGattService* service) override;
void GattCharacteristicAdded(
BluetoothAdapter* adapter,
- BluetoothGattCharacteristic* characteristic) override;
+ BluetoothRemoteGattCharacteristic* characteristic) override;
void GattCharacteristicRemoved(
BluetoothAdapter* adapter,
- BluetoothGattCharacteristic* characteristic) override;
+ BluetoothRemoteGattCharacteristic* characteristic) override;
void GattDescriptorAdded(BluetoothAdapter* adapter,
- BluetoothGattDescriptor* descriptor) override;
- void GattDescriptorRemoved(BluetoothAdapter* adapter,
- BluetoothGattDescriptor* descriptor) override;
+ BluetoothRemoteGattDescriptor* descriptor) override;
+ void GattDescriptorRemoved(
+ BluetoothAdapter* adapter,
+ BluetoothRemoteGattDescriptor* descriptor) override;
void GattCharacteristicValueChanged(
BluetoothAdapter* adapter,
- BluetoothGattCharacteristic* characteristic,
+ BluetoothRemoteGattCharacteristic* characteristic,
const std::vector<uint8_t>& value) override;
void GattDescriptorValueChanged(BluetoothAdapter* adapter,
- BluetoothGattDescriptor* descriptor,
+ BluetoothRemoteGattDescriptor* descriptor,
const std::vector<uint8_t>& value) override;
// Adapter related:
@@ -191,4 +193,4 @@ class TestBluetoothAdapterObserver : public BluetoothAdapter::Observer {
} // namespace device
-#endif // DEVICE_BLUETOOTH_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
+#endif // DEVICE_BLUETOOTH_TEST_TEST_BLUETOOTH_ADAPTER_OBSERVER_H_
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_gatt_service.cc ('k') | device/bluetooth/test/test_bluetooth_adapter_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698