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

Unified Diff: components/arc/bluetooth/arc_bluetooth_bridge.h

Issue 2511253002: arc: bluetooth: enable use_new_wrapper_types for bluetooth.mojom (Closed)
Patch Set: Rebase again 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
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 416c93bd1102c950c8edc1ca5d7418b2a5e3966d..a98fa52ee3770352b5629aeba382ddabee4ef894 100644
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
@@ -263,7 +263,7 @@ class ArcBluetoothBridge
void SendIndication(int32_t attribute_handle,
mojom::BluetoothAddressPtr address,
bool confirm,
- mojo::Array<uint8_t> value,
+ const std::vector<uint8_t>& value,
const SendIndicationCallback& callback) override;
// Bluetooth Mojo host interface - Bluetooth SDP functions
@@ -331,12 +331,12 @@ class ArcBluetoothBridge
std::unique_ptr<device::BluetoothGattNotifySession> notify_session);
private:
- mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties(
+ std::vector<mojom::BluetoothPropertyPtr> GetDeviceProperties(
mojom::BluetoothPropertyType type,
const device::BluetoothDevice* device) const;
- mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties(
+ std::vector<mojom::BluetoothPropertyPtr> GetAdapterProperties(
mojom::BluetoothPropertyType type) const;
- mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData(
+ std::vector<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData(
const device::BluetoothDevice* device) const;
void SendCachedDevicesFound() const;
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698