chromium/out/Default/gen/third_party/blink/public/mojom/page_state/page_state.mojom-shared.h

// third_party/blink/public/mojom/page_state/page_state.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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_PAGE_STATE_PAGE_STATE_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_PAGE_STATE_PAGE_STATE_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 "third_party/blink/public/mojom/page_state/page_state.mojom-shared-internal.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "services/network/public/mojom/referrer_policy.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"



#include "base/component_export.h"




namespace blink::mojom {
class DEPRECATED_FileSystemFileDataView;

class FileDataView;

class RequestBodyDataView;

class HttpBodyDataView;

class ViewStateDataView;

class FrameStateDataView;

class PageStateDataView;

class ElementDataView;


}  // blink::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::mojom::DEPRECATED_FileSystemFileDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::FileDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::RequestBodyDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::HttpBodyDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::ViewStateDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::FrameStateDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::PageStateDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::ElementDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

template <>
struct hash<::blink::mojom::ScrollRestorationType>
    : public mojo::internal::EnumHashImpl<::blink::mojom::ScrollRestorationType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::mojom::ScrollRestorationType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DEPRECATED_FileSystemFileDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::FileDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::RequestBodyDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::HttpBodyDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::ViewStateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::FrameStateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::PageStateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::ElementDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {

inline void DEPRECATED_FileSystemFileDataView::GetFilesystemUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void DEPRECATED_FileSystemFileDataView::GetModificationTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}


inline void FileDataView::GetPathDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FileDataView::GetModificationTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}


inline void RequestBodyDataView::GetElementsDataView(
    mojo::ArrayDataView<ElementDataView>* output) {}


inline void HttpBodyDataView::GetHttpContentTypeDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void HttpBodyDataView::GetRequestBodyDataView(
    RequestBodyDataView* output) {}


inline void ViewStateDataView::GetVisualViewportScrollOffsetDataView(
    ::gfx::mojom::PointFDataView* output) {}
inline void ViewStateDataView::GetScrollOffsetDataView(
    ::gfx::mojom::PointDataView* output) {}
inline void ViewStateDataView::GetScrollAnchorSelectorDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void ViewStateDataView::GetScrollAnchorOffsetDataView(
    ::gfx::mojom::PointFDataView* output) {}


inline void FrameStateDataView::GetUrlStringDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetReferrerDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetTargetDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetStateObjectDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetDocumentStateDataView(
    mojo::ArrayDataView<::mojo_base::mojom::String16DataView>* output) {}
inline void FrameStateDataView::GetViewStateDataView(
    ViewStateDataView* output) {}
inline void FrameStateDataView::GetHttpBodyDataView(
    HttpBodyDataView* output) {}
inline void FrameStateDataView::GetChildrenDataView(
    mojo::ArrayDataView<FrameStateDataView>* output) {}
inline void FrameStateDataView::GetInitiatorOriginDataView(
    mojo::StringDataView* output) {}
inline void FrameStateDataView::GetNavigationApiKeyDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetNavigationApiIdDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetNavigationApiStateDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void FrameStateDataView::GetInitiatorBaseUrlStringDataView(
    ::mojo_base::mojom::String16DataView* output) {}


inline void PageStateDataView::GetReferencedFilesDataView(
    mojo::ArrayDataView<::mojo_base::mojom::String16DataView>* output) {}
inline void PageStateDataView::GetTopDataView(
    FrameStateDataView* output) {}


inline void ElementDataView::GetBlobUuidDataView(
    mojo::StringDataView* output) const {}
inline void ElementDataView::GetBytesDataView(
    mojo::ArrayDataView<uint8_t>* output) const {}
inline void ElementDataView::GetFileDataView(
    FileDataView* output) const {}
inline void ElementDataView::GetDeprecatedFileSystemFileDataView(
    DEPRECATED_FileSystemFileDataView* output) const {}


}  // blink::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::ScrollRestorationType> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_PAGE_STATE_PAGE_STATE_MOJOM_SHARED_H_