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

Unified Diff: components/arc/bluetooth/bluetooth_struct_traits.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
Index: components/arc/bluetooth/bluetooth_struct_traits.h
diff --git a/components/arc/bluetooth/bluetooth_struct_traits.h b/components/arc/bluetooth/bluetooth_struct_traits.h
index 26ca434aefc22ea0e659a2b698d334c50879e88a..2290d7ad930b8375388f4f9984155121a271aade 100644
--- a/components/arc/bluetooth/bluetooth_struct_traits.h
+++ b/components/arc/bluetooth/bluetooth_struct_traits.h
@@ -5,6 +5,9 @@
#ifndef COMPONENTS_ARC_BLUETOOTH_BLUETOOTH_STRUCT_TRAITS_H_
#define COMPONENTS_ARC_BLUETOOTH_BLUETOOTH_STRUCT_TRAITS_H_
+#include <memory>
+#include <vector>
+
#include "components/arc/common/bluetooth.mojom.h"
#include "device/bluetooth/bluetooth_advertisement.h"
#include "device/bluetooth/bluetooth_common.h"
@@ -122,10 +125,10 @@ struct StructTraits<arc::mojom::BluetoothAdvertisementDataView,
return false;
}
- static mojo::Array<arc::mojom::BluetoothAdvertisingDataPtr> data(
+ static std::vector<arc::mojom::BluetoothAdvertisingDataPtr> data(
std::unique_ptr<device::BluetoothAdvertisement::Data>& input) {
NOTREACHED();
- return mojo::Array<arc::mojom::BluetoothAdvertisingDataPtr>();
+ return std::vector<arc::mojom::BluetoothAdvertisingDataPtr>();
}
};

Powered by Google App Engine
This is Rietveld 408576698