chromium/services/network/public/cpp/connection_endpoint_metadata_mojom_traits.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SERVICES_NETWORK_PUBLIC_CPP_CONNECTION_ENDPOINT_METADATA_MOJOM_TRAITS_H_
#define SERVICES_NETWORK_PUBLIC_CPP_CONNECTION_ENDPOINT_METADATA_MOJOM_TRAITS_H_

#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/struct_traits.h"
#include "net/base/connection_endpoint_metadata.h"
#include "services/network/public/mojom/connection_endpoint_metadata.mojom-shared.h"

namespace mojo {
template <>
struct COMPONENT_EXPORT(NETWORK_CPP_IP_ADDRESS)
    StructTraits<network::mojom::ConnectionEndpointMetadataDataView,
                 net::ConnectionEndpointMetadata> {};

}  // namespace mojo

#endif  // SERVICES_NETWORK_PUBLIC_CPP_CONNECTION_ENDPOINT_METADATA_MOJOM_TRAITS_H_