chromium/out/Default/gen/chrome/browser/ui/webui/discards/discards.mojom.h

// chrome/browser/ui/webui/discards/discards.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 CHROME_BROWSER_UI_WEBUI_DISCARDS_DISCARDS_MOJOM_H_
#define CHROME_BROWSER_UI_WEBUI_DISCARDS_DISCARDS_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 "chrome/browser/ui/webui/discards/discards.mojom-features.h"  // IWYU pragma: export
#include "chrome/browser/ui/webui/discards/discards.mojom-shared.h"  // IWYU pragma: export
#include "chrome/browser/ui/webui/discards/discards.mojom-forward.h"  // IWYU pragma: export
#include "chrome/browser/resource_coordinator/lifecycle_unit_state.mojom-forward.h"
#include "mojo/public/mojom/base/process_id.mojom.h"
#include "mojo/public/mojom/base/time.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"






namespace discards::mojom {

class DetailsProviderProxy;

template <typename ImplRefTraits>
class DetailsProviderStub;

class DetailsProviderRequestValidator;
class DetailsProviderResponseValidator;


class DetailsProvider
    : public DetailsProviderInterfaceBase {};

class GraphChangeStreamProxy;

template <typename ImplRefTraits>
class GraphChangeStreamStub;

class GraphChangeStreamRequestValidator;


class GraphChangeStream
    : public GraphChangeStreamInterfaceBase {};

class GraphDumpProxy;

template <typename ImplRefTraits>
class GraphDumpStub;

class GraphDumpRequestValidator;
class GraphDumpResponseValidator;


class GraphDump
    : public GraphDumpInterfaceBase {};



class  DetailsProviderProxy
    : public DetailsProvider {};



class  GraphChangeStreamProxy
    : public GraphChangeStream {};



class  GraphDumpProxy
    : public GraphDump {};
class  DetailsProviderStubDispatch {};

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

  DetailsProviderStub() = default;
  ~DetailsProviderStub() 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  GraphChangeStreamStubDispatch {};

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

  GraphChangeStreamStub() = default;
  ~GraphChangeStreamStub() 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  GraphDumpStubDispatch {};

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

  GraphDumpStub() = default;
  ~GraphDumpStub() 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  DetailsProviderRequestValidator : public mojo::MessageReceiver {};
class  GraphChangeStreamRequestValidator : public mojo::MessageReceiver {};
class  GraphDumpRequestValidator : public mojo::MessageReceiver {};
class  DetailsProviderResponseValidator : public mojo::MessageReceiver {};
class  GraphDumpResponseValidator : public mojo::MessageReceiver {};










class  FavIconInfo {};

// 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, FavIconInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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







class  TabDiscardsInfo {};

// 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, TabDiscardsInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  PageInfo {};

// 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, PageInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  FrameInfo {};

// 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, FrameInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  ProcessInfo {};

// 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, ProcessInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  WorkerInfo {};

// 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, WorkerInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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


template <typename StructPtrType>
TabDiscardsInfoPtr TabDiscardsInfo::Clone() const {}

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

template <typename T, TabDiscardsInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PageInfoPtr PageInfo::Clone() const {}

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

template <typename T, PageInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FrameInfoPtr FrameInfo::Clone() const {}

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

template <typename T, FrameInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProcessInfoPtr ProcessInfo::Clone() const {}

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

template <typename T, ProcessInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WorkerInfoPtr WorkerInfo::Clone() const {}

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

template <typename T, WorkerInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FavIconInfoPtr FavIconInfo::Clone() const {}

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

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


}  // discards::mojom

namespace mojo {


template <>
struct  StructTraits<::discards::mojom::TabDiscardsInfo::DataView,
                                         ::discards::mojom::TabDiscardsInfoPtr> {};


template <>
struct  StructTraits<::discards::mojom::PageInfo::DataView,
                                         ::discards::mojom::PageInfoPtr> {};


template <>
struct  StructTraits<::discards::mojom::FrameInfo::DataView,
                                         ::discards::mojom::FrameInfoPtr> {};


template <>
struct  StructTraits<::discards::mojom::ProcessInfo::DataView,
                                         ::discards::mojom::ProcessInfoPtr> {};


template <>
struct  StructTraits<::discards::mojom::WorkerInfo::DataView,
                                         ::discards::mojom::WorkerInfoPtr> {};


template <>
struct  StructTraits<::discards::mojom::FavIconInfo::DataView,
                                         ::discards::mojom::FavIconInfoPtr> {};

}  // namespace mojo

#endif  // CHROME_BROWSER_UI_WEBUI_DISCARDS_DISCARDS_MOJOM_H_