chromium/out/Default/gen/components/performance_manager/public/mojom/v8_contexts.mojom-shared.h

// components/performance_manager/public/mojom/v8_contexts.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_PERFORMANCE_MANAGER_PUBLIC_MOJOM_V8_CONTEXTS_MOJOM_SHARED_H_
#define COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_MOJOM_V8_CONTEXTS_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/performance_manager/public/mojom/v8_contexts.mojom-shared-internal.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-shared.h"



#include "base/component_export.h"




namespace performance_manager::mojom {
class IframeAttributionDataDataView;

class V8ContextDescriptionDataView;



}  // performance_manager::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::performance_manager::mojom::IframeAttributionDataDataView> {};

template <>
struct MojomTypeTraits<::performance_manager::mojom::V8ContextDescriptionDataView> {};

}  // namespace internal
}  // namespace mojo


namespace performance_managermojom  // performance_manager::mojom

namespace std {

template <>
struct hash<::performance_manager::mojom::V8ContextWorldType>
    : public mojo::internal::EnumHashImpl<::performance_manager::mojom::V8ContextWorldType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::performance_manager::mojom::V8ContextWorldType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::performance_manager::mojom::IframeAttributionDataDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::performance_manager::mojom::V8ContextDescriptionDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace performance_manager::mojom {

inline void IframeAttributionDataDataView::GetIdDataView(
    mojo::StringDataView* output) {}
inline void IframeAttributionDataDataView::GetSrcDataView(
    mojo::StringDataView* output) {}


inline void V8ContextDescriptionDataView::GetTokenDataView(
    ::blink::mojom::V8ContextTokenDataView* output) {}
inline void V8ContextDescriptionDataView::GetWorldNameDataView(
    mojo::StringDataView* output) {}
inline void V8ContextDescriptionDataView::GetExecutionContextTokenDataView(
    ::blink::mojom::ExecutionContextTokenDataView* output) {}



}  // performance_manager::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(PERFORMANCE_MANAGER_PUBLIC_MOJOM_SHARED) TraceFormatTraits<::performance_manager::mojom::V8ContextWorldType> {};

} // namespace perfetto

#endif  // COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_MOJOM_V8_CONTEXTS_MOJOM_SHARED_H_