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

// components/subresource_filter/core/mojom/subresource_filter.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 COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_MOJOM_SHARED_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_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 "components/subresource_filter/core/mojom/subresource_filter.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace subresource_filter::mojom {
class ActivationStateDataView;

class DocumentLoadStatisticsDataView;



}  // subresource_filter::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::subresource_filter::mojom::ActivationStateDataView> {};

template <>
struct MojomTypeTraits<::subresource_filter::mojom::DocumentLoadStatisticsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace subresource_filter::mojom {


enum class ActivationLevel : int32_t {};

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


enum class AdsViolation : int32_t {};

 std::ostream& operator<<(std::ostream& os, AdsViolation value);
inline bool IsKnownEnumValue(AdsViolation value) {}
// Interface base classes. They are used for type safety check.
class SubresourceFilterRulesetObserverInterfaceBase {};

SubresourceFilterRulesetObserverPtrDataView;
SubresourceFilterRulesetObserverRequestDataView;
SubresourceFilterRulesetObserverAssociatedPtrInfoDataView;
SubresourceFilterRulesetObserverAssociatedRequestDataView;


class ActivationStateDataView {};


class DocumentLoadStatisticsDataView {};


}  // subresource_filter::mojom

namespace std {

template <>
struct hash<::subresource_filter::mojom::ActivationLevel>
    : public mojo::internal::EnumHashImpl<::subresource_filter::mojom::ActivationLevel> {};

template <>
struct hash<::subresource_filter::mojom::AdsViolation>
    : public mojo::internal::EnumHashImpl<::subresource_filter::mojom::AdsViolation> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::subresource_filter::mojom::ActivationLevel, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::subresource_filter::mojom::AdsViolation, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::subresource_filter::mojom::ActivationStateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::subresource_filter::mojom::DocumentLoadStatisticsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace subresource_filter::mojom {



inline void DocumentLoadStatisticsDataView::GetEvaluationTotalWallDurationDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}
inline void DocumentLoadStatisticsDataView::GetEvaluationTotalCpuDurationDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}



}  // subresource_filter::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::subresource_filter::mojom::ActivationLevel> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::subresource_filter::mojom::AdsViolation> {};

} // namespace perfetto

#endif  // COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_MOJOM_SHARED_H_