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

Unified Diff: content/browser/bluetooth/web_bluetooth_service_impl.h

Issue 2506813003: Use new wrapper types for web_bluetooth.mojom (Closed)
Patch Set: merge master and resolve conflicts Created 4 years, 1 month 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/web_bluetooth_service_impl.h
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.h b/content/browser/bluetooth/web_bluetooth_service_impl.h
index 2f2de4299ba49b18e38ca1f28599fabdec613287..773d28977a825161d936fe6a8b40241c62dc07c3 100644
--- a/content/browser/bluetooth/web_bluetooth_service_impl.h
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.h
@@ -108,25 +108,25 @@ class CONTENT_EXPORT WebBluetoothServiceImpl
void RemoteServerGetPrimaryServices(
const WebBluetoothDeviceId& device_id,
blink::mojom::WebBluetoothGATTQueryQuantity quantity,
- const base::Optional<device::BluetoothUUID>& service_uuid,
+ const base::Optional<device::BluetoothUUID>& services_uuid,
const RemoteServerGetPrimaryServicesCallback& callback) override;
void RemoteServiceGetCharacteristics(
- const mojo::String& service_instance_id,
+ const std::string& service_instance_id,
blink::mojom::WebBluetoothGATTQueryQuantity quantity,
const base::Optional<device::BluetoothUUID>& characteristics_uuid,
const RemoteServiceGetCharacteristicsCallback& callback) override;
void RemoteCharacteristicReadValue(
- const mojo::String& characteristic_instance_id,
+ const std::string& characteristic_instance_id,
const RemoteCharacteristicReadValueCallback& callback) override;
void RemoteCharacteristicWriteValue(
- const mojo::String& characteristic_instance_id,
- mojo::Array<uint8_t> value,
+ const std::string& characteristic_instance_id,
+ const std::vector<uint8_t>& value,
const RemoteCharacteristicWriteValueCallback& callback) override;
void RemoteCharacteristicStartNotifications(
- const mojo::String& characteristic_instance_id,
+ const std::string& characteristic_instance_id,
const RemoteCharacteristicStartNotificationsCallback& callback) override;
void RemoteCharacteristicStopNotifications(
- const mojo::String& characteristic_instance_id,
+ const std::string& characteristic_instance_id,
const RemoteCharacteristicStopNotificationsCallback& callback) override;
void RequestDeviceImpl(

Powered by Google App Engine
This is Rietveld 408576698