chromium/out/Default/gen/services/network/public/mojom/oblivious_http_request.mojom.h

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

// Copyright 2013 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_OBLIVIOUS_HTTP_REQUEST_MOJOM_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_OBLIVIOUS_HTTP_REQUEST_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

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

#include "services/network/public/mojom/oblivious_http_request.mojom-features.h"  // IWYU pragma: export
#include "services/network/public/mojom/oblivious_http_request.mojom-shared.h"  // IWYU pragma: export
#include "services/network/public/mojom/oblivious_http_request.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/byte_string.mojom.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "services/network/public/mojom/isolation_info.mojom-forward.h"
#include "services/network/public/mojom/mutable_network_traffic_annotation_tag.mojom.h"
#include "services/network/public/mojom/network_param.mojom.h"
#include "services/network/public/mojom/trust_tokens.mojom.h"
#include "url/mojom/url.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"


#include "mojo/public/cpp/bindings/lib/native_enum_serialization.h"
#include "mojo/public/cpp/bindings/lib/native_struct_serialization.h"




namespace network::mojom {

class ObliviousHttpClientProxy;

template <typename ImplRefTraits>
class ObliviousHttpClientStub;

class ObliviousHttpClientRequestValidator;


class ObliviousHttpClient
    : public ObliviousHttpClientInterfaceBase {};



class  ObliviousHttpClientProxy
    : public ObliviousHttpClient {};
class  ObliviousHttpClientStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<ObliviousHttpClient>>
class ObliviousHttpClientStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  ObliviousHttpClientStub() = default;
  ~ObliviousHttpClientStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  ObliviousHttpClientRequestValidator : public mojo::MessageReceiver {};







class  ObliviousHttpPaddingParameters {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ObliviousHttpPaddingParameters::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ObliviousHttpPaddingParameters::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpPaddingParameters::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpPaddingParameters::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}






class  ObliviousHttpCompletionResult {};





class  ObliviousHttpRequestBody {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ObliviousHttpRequestBody::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ObliviousHttpRequestBody::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpRequestBody::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpRequestBody::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  ObliviousHttpResponse {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ObliviousHttpResponse::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ObliviousHttpResponse::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpResponse::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpResponse::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}






class  ObliviousHttpRequest {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ObliviousHttpRequest::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ObliviousHttpRequest::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpRequest::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ObliviousHttpRequest::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename UnionPtrType>
ObliviousHttpCompletionResultPtr ObliviousHttpCompletionResult::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, ObliviousHttpCompletionResult>::value>::type*>
bool ObliviousHttpCompletionResult::Equals(const T& other) const {}
template <typename StructPtrType>
ObliviousHttpRequestBodyPtr ObliviousHttpRequestBody::Clone() const {}

template <typename T, ObliviousHttpRequestBody::EnableIfSame<T>*>
bool ObliviousHttpRequestBody::Equals(const T& other_struct) const {}

template <typename T, ObliviousHttpRequestBody::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ObliviousHttpResponsePtr ObliviousHttpResponse::Clone() const {}

template <typename T, ObliviousHttpResponse::EnableIfSame<T>*>
bool ObliviousHttpResponse::Equals(const T& other_struct) const {}

template <typename T, ObliviousHttpResponse::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ObliviousHttpPaddingParametersPtr ObliviousHttpPaddingParameters::Clone() const {}

template <typename T, ObliviousHttpPaddingParameters::EnableIfSame<T>*>
bool ObliviousHttpPaddingParameters::Equals(const T& other_struct) const {}

template <typename T, ObliviousHttpPaddingParameters::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ObliviousHttpRequestPtr ObliviousHttpRequest::Clone() const {}

template <typename T, ObliviousHttpRequest::EnableIfSame<T>*>
bool ObliviousHttpRequest::Equals(const T& other_struct) const {}

template <typename T, ObliviousHttpRequest::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // network::mojom

namespace mojo {


template <>
struct  StructTraits<::network::mojom::ObliviousHttpRequestBody::DataView,
                                         ::network::mojom::ObliviousHttpRequestBodyPtr> {};


template <>
struct  StructTraits<::network::mojom::ObliviousHttpResponse::DataView,
                                         ::network::mojom::ObliviousHttpResponsePtr> {};


template <>
struct  StructTraits<::network::mojom::ObliviousHttpPaddingParameters::DataView,
                                         ::network::mojom::ObliviousHttpPaddingParametersPtr> {};


template <>
struct  StructTraits<::network::mojom::ObliviousHttpRequest::DataView,
                                         ::network::mojom::ObliviousHttpRequestPtr> {};


template <>
struct  UnionTraits<::network::mojom::ObliviousHttpCompletionResult::DataView,
                                        ::network::mojom::ObliviousHttpCompletionResultPtr> {};

}  // namespace mojo

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_OBLIVIOUS_HTTP_REQUEST_MOJOM_H_