chromium/out/Default/gen/services/network/public/mojom/proxy_config.mojom-shared.h

// services/network/public/mojom/proxy_config.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 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_MOJOM_PROXY_CONFIG_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_PROXY_CONFIG_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "services/network/public/mojom/proxy_config.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_string.mojom-shared.h"
#include "services/network/public/mojom/network_param.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace network::mojom {
class ProxyBypassRulesDataView;

class ProxyListDataView;

class ProxyRulesDataView;

class ProxyConfigDataView;



}  // network::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::network::mojom::ProxyBypassRulesDataView> {};

template <>
struct MojomTypeTraits<::network::mojom::ProxyListDataView> {};

template <>
struct MojomTypeTraits<::network::mojom::ProxyRulesDataView> {};

template <>
struct MojomTypeTraits<::network::mojom::ProxyConfigDataView> {};

}  // namespace internal
}  // namespace mojo


namespace network::mojom {


enum class ProxyRulesType : int32_t {};

 std::ostream& operator<<(std::ostream& os, ProxyRulesType value);
inline bool IsKnownEnumValue(ProxyRulesType value) {}


enum class IpProtectionProxyBypassPolicy : int32_t {};

 std::ostream& operator<<(std::ostream& os, IpProtectionProxyBypassPolicy value);
inline bool IsKnownEnumValue(IpProtectionProxyBypassPolicy value) {}


class ProxyBypassRulesDataView {};


class ProxyListDataView {};


class ProxyRulesDataView {};


class ProxyConfigDataView {};


}  // network::mojom

namespace std {

template <>
struct hash<::network::mojom::ProxyRulesType>
    : public mojo::internal::EnumHashImpl<::network::mojom::ProxyRulesType> {};

template <>
struct hash<::network::mojom::IpProtectionProxyBypassPolicy>
    : public mojo::internal::EnumHashImpl<::network::mojom::IpProtectionProxyBypassPolicy> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::network::mojom::ProxyRulesType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::IpProtectionProxyBypassPolicy, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::ProxyBypassRulesDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::ProxyListDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::ProxyRulesDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::ProxyConfigDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace network::mojom {

inline void ProxyBypassRulesDataView::GetRulesDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}


inline void ProxyListDataView::GetProxiesDataView(
    mojo::ArrayDataView<::network::mojom::ProxyChainDataView>* output) {}


inline void ProxyRulesDataView::GetBypassRulesDataView(
    ProxyBypassRulesDataView* output) {}
inline void ProxyRulesDataView::GetSingleProxiesDataView(
    ProxyListDataView* output) {}
inline void ProxyRulesDataView::GetProxiesForHttpDataView(
    ProxyListDataView* output) {}
inline void ProxyRulesDataView::GetProxiesForHttpsDataView(
    ProxyListDataView* output) {}
inline void ProxyRulesDataView::GetProxiesForFtpDataView(
    ProxyListDataView* output) {}
inline void ProxyRulesDataView::GetFallbackProxiesDataView(
    ProxyListDataView* output) {}


inline void ProxyConfigDataView::GetPacUrlDataView(
    ::mojo_base::mojom::BigStringDataView* output) {}
inline void ProxyConfigDataView::GetProxyRulesDataView(
    ProxyRulesDataView* output) {}



}  // network::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::ProxyRulesType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::IpProtectionProxyBypassPolicy> {};

} // namespace perfetto

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_PROXY_CONFIG_MOJOM_SHARED_H_