#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;
}
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 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 { … };
}
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 mojo {
namespace internal {
Serializer< ::network::mojom::ProxyRulesType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::IpProtectionProxyBypassPolicy, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::ProxyBypassRulesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::ProxyListDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::ProxyRulesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::ProxyConfigDataView, MaybeConstUserType>;
}
}
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) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::network::mojom::ProxyRulesType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::network::mojom::IpProtectionProxyBypassPolicy> { … };
}
#endif