chromium/services/proxy_resolver/public/cpp/mojo_host_mojom_traits.cc

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

#include "services/proxy_resolver/public/cpp/mojo_host_mojom_traits.h"

#include <utility>

#include "net/base/address_list.h"

namespace mojo {

// static
proxy_resolver::mojom::HostResolveOperation
EnumTraits<proxy_resolver::mojom::HostResolveOperation,
           net::ProxyResolveDnsOperation>::ToMojom(net::ProxyResolveDnsOperation
                                                       input) {}

// static
bool EnumTraits<proxy_resolver::mojom::HostResolveOperation,
                net::ProxyResolveDnsOperation>::
    FromMojom(proxy_resolver::mojom::HostResolveOperation input,
              net::ProxyResolveDnsOperation* output) {}

}  // namespace mojo