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

Unified Diff: components/arc/bluetooth/arc_bluetooth_bridge.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: components/arc/bluetooth/arc_bluetooth_bridge.h
diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.h b/components/arc/bluetooth/arc_bluetooth_bridge.h
index c4e0ded8edbcfcf2d01f83207ef9614a2638c0a3..9b5890e84f5b70127a0fd8f9ba6797fe382a435c 100644
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
@@ -17,9 +17,9 @@
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_discovery_session.h"
-#include "device/bluetooth/bluetooth_gatt_characteristic.h"
-#include "device/bluetooth/bluetooth_gatt_descriptor.h"
-#include "device/bluetooth/bluetooth_gatt_service.h"
+#include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
+#include "device/bluetooth/bluetooth_remote_gatt_descriptor.h"
+#include "device/bluetooth/bluetooth_remote_gatt_service.h"
#include "mojo/public/cpp/bindings/binding.h"
namespace arc {
@@ -67,46 +67,47 @@ class ArcBluetoothBridge
void GattServiceAdded(device::BluetoothAdapter* adapter,
device::BluetoothDevice* device,
- device::BluetoothGattService* service) override;
+ device::BluetoothRemoteGattService* service) override;
void GattServiceRemoved(device::BluetoothAdapter* adapter,
device::BluetoothDevice* device,
- device::BluetoothGattService* service) override;
+ device::BluetoothRemoteGattService* service) override;
void GattServicesDiscovered(device::BluetoothAdapter* adapter,
device::BluetoothDevice* device) override;
void GattDiscoveryCompleteForService(
device::BluetoothAdapter* adapter,
- device::BluetoothGattService* service) override;
+ device::BluetoothRemoteGattService* service) override;
void GattServiceChanged(device::BluetoothAdapter* adapter,
- device::BluetoothGattService* service) override;
+ device::BluetoothRemoteGattService* service) override;
void GattCharacteristicAdded(
device::BluetoothAdapter* adapter,
- device::BluetoothGattCharacteristic* characteristic) override;
+ device::BluetoothRemoteGattCharacteristic* characteristic) override;
void GattCharacteristicRemoved(
device::BluetoothAdapter* adapter,
- device::BluetoothGattCharacteristic* characteristic) override;
+ device::BluetoothRemoteGattCharacteristic* characteristic) override;
void GattDescriptorAdded(
device::BluetoothAdapter* adapter,
- device::BluetoothGattDescriptor* descriptor) override;
+ device::BluetoothRemoteGattDescriptor* descriptor) override;
void GattDescriptorRemoved(
device::BluetoothAdapter* adapter,
- device::BluetoothGattDescriptor* descriptor) override;
+ device::BluetoothRemoteGattDescriptor* descriptor) override;
void GattCharacteristicValueChanged(
device::BluetoothAdapter* adapter,
- device::BluetoothGattCharacteristic* characteristic,
+ device::BluetoothRemoteGattCharacteristic* characteristic,
const std::vector<uint8_t>& value) override;
- void GattDescriptorValueChanged(device::BluetoothAdapter* adapter,
- device::BluetoothGattDescriptor* descriptor,
- const std::vector<uint8_t>& value) override;
+ void GattDescriptorValueChanged(
+ device::BluetoothAdapter* adapter,
+ device::BluetoothRemoteGattDescriptor* descriptor,
+ const std::vector<uint8_t>& value) override;
// Bluetooth Mojo host interface
void EnableAdapter(const EnableAdapterCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698