#include "third_party/blink/public/mojom/page_state/page_state.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/page_state/page_state.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ScrollRestorationTypeToStringHelper(ScrollRestorationType value) { … }
std::string ScrollRestorationTypeToString(ScrollRestorationType value) { … }
std::ostream& operator<<(std::ostream& os, ScrollRestorationType value) { … }
namespace internal {
bool Element_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool DEPRECATED_FileSystemFile_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DEPRECATED_FileSystemFile_Data::DEPRECATED_FileSystemFile_Data()
: … { … }
bool File_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
File_Data::File_Data()
: … { … }
bool RequestBody_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RequestBody_Data::RequestBody_Data()
: … { … }
bool HttpBody_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HttpBody_Data::HttpBody_Data()
: … { … }
bool ViewState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ViewState_Data::ViewState_Data()
: … { … }
bool FrameState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameState_Data::FrameState_Data()
: … { … }
bool PageState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageState_Data::PageState_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ScrollRestorationType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ScrollRestorationType value) { … }
}