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

Unified Diff: content/renderer/bluetooth/web_bluetooth_impl.h

Issue 2142813003: bluetooth: Avoid including non-blink mojo bindings in blink code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Add DCHECK for enum Created 4 years, 5 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 | « content/common/DEPS ('k') | content/renderer/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/bluetooth/web_bluetooth_impl.h
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.h b/content/renderer/bluetooth/web_bluetooth_impl.h
index 13d7c7b9a184704d660f643063075bedc227ddee..e1257d03999103932621bc5642de11f53259e8b7 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.h
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h
@@ -54,12 +54,14 @@ class CONTENT_EXPORT WebBluetoothImpl
void disconnect(const blink::WebString& device_id) override;
void getPrimaryServices(
const blink::WebString& device_id,
- blink::mojom::WebBluetoothGATTQueryQuantity quantity,
+ int32_t quantity /* Corresponds to WebBluetoothGATTQueryQuantity in
+ web_bluetooth.mojom */,
const blink::WebString& services_uuid,
blink::WebBluetoothGetPrimaryServicesCallbacks* callbacks) override;
void getCharacteristics(
const blink::WebString& service_instance_id,
- blink::mojom::WebBluetoothGATTQueryQuantity quantity,
+ int32_t quantity /* Corresponds to WebBluetoothGATTQueryQuantity in
+ web_bluetooth.mojom */,
const blink::WebString& characteristics_uuid,
blink::WebBluetoothGetCharacteristicsCallbacks* callbacks) override;
void readValue(const blink::WebString& characteristic_instance_id,
« no previous file with comments | « content/common/DEPS ('k') | content/renderer/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698