chromium/out/Default/gen/components/subresource_filter/core/mojom/subresource_filter.mojom.h

// components/subresource_filter/core/mojom/subresource_filter.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 COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_MOJOM_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_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 "components/subresource_filter/core/mojom/subresource_filter.mojom-features.h"  // IWYU pragma: export
#include "components/subresource_filter/core/mojom/subresource_filter.mojom-shared.h"  // IWYU pragma: export
#include "components/subresource_filter/core/mojom/subresource_filter.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/file.mojom.h"
#include "mojo/public/mojom/base/time.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 subresource_filter::mojom {

class SubresourceFilterRulesetObserverProxy;

template <typename ImplRefTraits>
class SubresourceFilterRulesetObserverStub;

class SubresourceFilterRulesetObserverRequestValidator;


class SubresourceFilterRulesetObserver
    : public SubresourceFilterRulesetObserverInterfaceBase {};



class  SubresourceFilterRulesetObserverProxy
    : public SubresourceFilterRulesetObserver {};
class  SubresourceFilterRulesetObserverStubDispatch {};

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

  SubresourceFilterRulesetObserverStub() = default;
  ~SubresourceFilterRulesetObserverStub() 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  SubresourceFilterRulesetObserverRequestValidator : public mojo::MessageReceiver {};









class  ActivationState {};

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

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

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

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





class  DocumentLoadStatistics {};

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

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

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

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

template <typename StructPtrType>
ActivationStatePtr ActivationState::Clone() const {}

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

template <typename T, ActivationState::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
DocumentLoadStatisticsPtr DocumentLoadStatistics::Clone() const {}

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

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


}  // subresource_filter::mojom

namespace mojo {


template <>
struct  StructTraits<::subresource_filter::mojom::ActivationState::DataView,
                                         ::subresource_filter::mojom::ActivationStatePtr> {};


template <>
struct  StructTraits<::subresource_filter::mojom::DocumentLoadStatistics::DataView,
                                         ::subresource_filter::mojom::DocumentLoadStatisticsPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_MOJOM_H_