chromium/out/Default/gen/third_party/blink/public/mojom/fetch/fetch_api_request.mojom-shared.cc

// third_party/blink/public/mojom/fetch/fetch_api_request.mojom-shared.cc 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.

#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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/fetch/fetch_api_request.mojom-params-data.h"
namespace blink {
namespace mojom {

NOINLINE static const char* RequestContextTypeToStringHelper(RequestContextType value) {}

std::string RequestContextTypeToString(RequestContextType value) {}

std::ostream& operator<<(std::ostream& os, RequestContextType value) {}

NOINLINE static const char* FetchCacheModeToStringHelper(FetchCacheMode value) {}

std::string FetchCacheModeToString(FetchCacheMode value) {}

std::ostream& operator<<(std::ostream& os, FetchCacheMode value) {}

NOINLINE static const char* FetchPriorityHintToStringHelper(FetchPriorityHint value) {}

std::string FetchPriorityHintToString(FetchPriorityHint value) {}

std::ostream& operator<<(std::ostream& os, FetchPriorityHint value) {}

namespace internal {


// static
bool FetchAPIRequestHeaders_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

FetchAPIRequestHeaders_Data::FetchAPIRequestHeaders_Data()
    :{}


// static
bool FetchAPIRequestBody_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

FetchAPIRequestBody_Data::FetchAPIRequestBody_Data()
    :{}


// static
bool FetchAPIRequest_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

FetchAPIRequest_Data::FetchAPIRequest_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace blink

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::RequestContextType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::RequestContextType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::FetchCacheMode>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::FetchCacheMode value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::FetchPriorityHint>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::FetchPriorityHint value) {}

} // namespace perfetto