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

Unified Diff: content/browser/bluetooth/bluetooth_dispatcher_host.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: content/browser/bluetooth/bluetooth_dispatcher_host.h
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h
index 7a1756c198a1af8bdfe7e87f1dadedb6fbabcc24..e8c7f866d80231200cc1172bb1eb2518ce82575c 100644
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.h
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h
@@ -21,7 +21,7 @@
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_gatt_connection.h"
#include "device/bluetooth/bluetooth_gatt_notify_session.h"
-#include "device/bluetooth/bluetooth_gatt_service.h"
+#include "device/bluetooth/bluetooth_remote_gatt_service.h"
namespace device {
class BluetoothUUID;
@@ -66,8 +66,8 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
~CacheQueryResult();
blink::WebBluetoothError GetWebError() const;
device::BluetoothDevice* device = nullptr;
- device::BluetoothGattService* service = nullptr;
- device::BluetoothGattCharacteristic* characteristic = nullptr;
+ device::BluetoothRemoteGattService* service = nullptr;
+ device::BluetoothRemoteGattCharacteristic* characteristic = nullptr;
CacheQueryOutcome outcome = CacheQueryOutcome::SUCCESS;
};
@@ -225,7 +225,7 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
// Adds the service to the map of services' instance ids to devices' instance
// ids and sends the service to the renderer.
void AddToServicesMapAndSendGetPrimaryServiceSuccess(
- const device::BluetoothGattService& service,
+ const device::BluetoothRemoteGattService& service,
int thread_id,
int request_id);

Powered by Google App Engine
This is Rietveld 408576698