| 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..80c1b920780e7e0e2d9ca351f4152b4aefe76234 100644
|
| --- a/components/arc/bluetooth/bluetooth_struct_traits.h
|
| +++ b/components/arc/bluetooth/bluetooth_struct_traits.h
|
| @@ -6,9 +6,7 @@
|
| #define COMPONENTS_ARC_BLUETOOTH_BLUETOOTH_STRUCT_TRAITS_H_
|
|
|
| #include "components/arc/common/bluetooth.mojom.h"
|
| -#include "device/bluetooth/bluetooth_advertisement.h"
|
| #include "device/bluetooth/bluetooth_common.h"
|
| -#include "device/bluetooth/bluetooth_uuid.h"
|
| #include "device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.h"
|
|
|
| namespace mojo {
|
| @@ -102,33 +100,6 @@
|
| device::BluetoothUUID* output);
|
| };
|
|
|
| -template <>
|
| -struct StructTraits<arc::mojom::BluetoothAdvertisementDataView,
|
| - std::unique_ptr<device::BluetoothAdvertisement::Data>> {
|
| - static bool Read(
|
| - arc::mojom::BluetoothAdvertisementDataView advertisement,
|
| - std::unique_ptr<device::BluetoothAdvertisement::Data>* output);
|
| -
|
| - // Dummy methods.
|
| - static arc::mojom::BluetoothAdvertisementType type(
|
| - std::unique_ptr<device::BluetoothAdvertisement::Data>& input) {
|
| - NOTREACHED();
|
| - return arc::mojom::BluetoothAdvertisementType::ADV_TYPE_NON_CONNECTABLE;
|
| - }
|
| -
|
| - static bool include_tx_power(
|
| - std::unique_ptr<device::BluetoothAdvertisement::Data>& input) {
|
| - NOTREACHED();
|
| - return false;
|
| - }
|
| -
|
| - static mojo::Array<arc::mojom::BluetoothAdvertisingDataPtr> data(
|
| - std::unique_ptr<device::BluetoothAdvertisement::Data>& input) {
|
| - NOTREACHED();
|
| - return mojo::Array<arc::mojom::BluetoothAdvertisingDataPtr>();
|
| - }
|
| -};
|
| -
|
| } // namespace mojo
|
|
|
| #endif // COMPONENTS_ARC_BLUETOOTH_BLUETOOTH_STRUCT_TRAITS_H_
|
|
|