chromium/out/Default/gen/third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom.cc

// third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-params-data.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-import-headers.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-test-utils.h"


namespace blink::mojom {
ServiceWorkerRouterRunningStatusCondition::ServiceWorkerRouterRunningStatusCondition()
    :{}

ServiceWorkerRouterRunningStatusCondition::ServiceWorkerRouterRunningStatusCondition(
    ServiceWorkerRouterRunningStatusEnum status_in)
    :{}

ServiceWorkerRouterRunningStatusCondition::~ServiceWorkerRouterRunningStatusCondition() = default;
size_t ServiceWorkerRouterRunningStatusCondition::Hash(size_t seed) const {}

void ServiceWorkerRouterRunningStatusCondition::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterRunningStatusCondition::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterRequestCondition::ServiceWorkerRouterRequestCondition()
    :{}

ServiceWorkerRouterRequestCondition::ServiceWorkerRouterRequestCondition(
    const std::optional<std::string>& method_in,
    bool has_mode_in,
    ::network::mojom::RequestMode mode_in,
    bool has_destination_in,
    ::network::mojom::RequestDestination destination_in)
    :{}

ServiceWorkerRouterRequestCondition::~ServiceWorkerRouterRequestCondition() = default;

void ServiceWorkerRouterRequestCondition::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterRequestCondition::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterOrCondition::ServiceWorkerRouterOrCondition()
    :{}

ServiceWorkerRouterOrCondition::ServiceWorkerRouterOrCondition(
    std::vector<ServiceWorkerRouterConditionPtr> conditions_in)
    :{}

ServiceWorkerRouterOrCondition::~ServiceWorkerRouterOrCondition() = default;

void ServiceWorkerRouterOrCondition::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterOrCondition::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterNotCondition::ServiceWorkerRouterNotCondition()
    :{}

ServiceWorkerRouterNotCondition::ServiceWorkerRouterNotCondition(
    ServiceWorkerRouterConditionPtr condition_in)
    :{}

ServiceWorkerRouterNotCondition::~ServiceWorkerRouterNotCondition() = default;

void ServiceWorkerRouterNotCondition::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterNotCondition::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterCondition::ServiceWorkerRouterCondition()
    :{}

ServiceWorkerRouterCondition::ServiceWorkerRouterCondition(
    const std::optional<::blink::SafeUrlPattern>& url_pattern_in,
    ServiceWorkerRouterRequestConditionPtr request_in,
    ServiceWorkerRouterRunningStatusConditionPtr running_status_in,
    ServiceWorkerRouterOrConditionPtr or_condition_in,
    ServiceWorkerRouterNotConditionPtr not_condition_in)
    :{}

ServiceWorkerRouterCondition::~ServiceWorkerRouterCondition() = default;

void ServiceWorkerRouterCondition::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterCondition::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterNetworkSource::ServiceWorkerRouterNetworkSource() {}

ServiceWorkerRouterNetworkSource::~ServiceWorkerRouterNetworkSource() = default;
size_t ServiceWorkerRouterNetworkSource::Hash(size_t seed) const {}

void ServiceWorkerRouterNetworkSource::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterNetworkSource::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterRaceSource::ServiceWorkerRouterRaceSource() {}

ServiceWorkerRouterRaceSource::~ServiceWorkerRouterRaceSource() = default;
size_t ServiceWorkerRouterRaceSource::Hash(size_t seed) const {}

void ServiceWorkerRouterRaceSource::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterRaceSource::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterFetchEventSource::ServiceWorkerRouterFetchEventSource() {}

ServiceWorkerRouterFetchEventSource::~ServiceWorkerRouterFetchEventSource() = default;
size_t ServiceWorkerRouterFetchEventSource::Hash(size_t seed) const {}

void ServiceWorkerRouterFetchEventSource::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterFetchEventSource::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterCacheSource::ServiceWorkerRouterCacheSource()
    :{}

ServiceWorkerRouterCacheSource::ServiceWorkerRouterCacheSource(
    const std::optional<std::string>& cache_name_in)
    :{}

ServiceWorkerRouterCacheSource::~ServiceWorkerRouterCacheSource() = default;

void ServiceWorkerRouterCacheSource::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterCacheSource::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterRule::ServiceWorkerRouterRule()
    :{}

ServiceWorkerRouterRule::ServiceWorkerRouterRule(
    ServiceWorkerRouterConditionPtr condition_in,
    std::vector<ServiceWorkerRouterSourcePtr> sources_in)
    :{}

ServiceWorkerRouterRule::~ServiceWorkerRouterRule() = default;

void ServiceWorkerRouterRule::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterRule::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterRules::ServiceWorkerRouterRules()
    :{}

ServiceWorkerRouterRules::ServiceWorkerRouterRules(
    std::vector<ServiceWorkerRouterRulePtr> rules_in)
    :{}

ServiceWorkerRouterRules::~ServiceWorkerRouterRules() = default;

void ServiceWorkerRouterRules::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ServiceWorkerRouterRules::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ServiceWorkerRouterSource::ServiceWorkerRouterSource() :{}

ServiceWorkerRouterSource::~ServiceWorkerRouterSource() {}


void ServiceWorkerRouterSource::set_network_source(
    ServiceWorkerRouterNetworkSourcePtr network_source) {}
void ServiceWorkerRouterSource::set_race_source(
    ServiceWorkerRouterRaceSourcePtr race_source) {}
void ServiceWorkerRouterSource::set_fetch_event_source(
    ServiceWorkerRouterFetchEventSourcePtr fetch_event_source) {}
void ServiceWorkerRouterSource::set_cache_source(
    ServiceWorkerRouterCacheSourcePtr cache_source) {}

void ServiceWorkerRouterSource::DestroyActive() {}

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


}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterRunningStatusCondition::DataView, ::blink::mojom::ServiceWorkerRouterRunningStatusConditionPtr>::Read(
    ::blink::mojom::ServiceWorkerRouterRunningStatusCondition::DataView input,
    ::blink::mojom::ServiceWorkerRouterRunningStatusConditionPtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterRequestCondition::DataView, ::blink::mojom::ServiceWorkerRouterRequestConditionPtr>::Read(
    ::blink::mojom::ServiceWorkerRouterRequestCondition::DataView input,
    ::blink::mojom::ServiceWorkerRouterRequestConditionPtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterOrCondition::DataView, ::blink::mojom::ServiceWorkerRouterOrConditionPtr>::Read(
    ::blink::mojom::ServiceWorkerRouterOrCondition::DataView input,
    ::blink::mojom::ServiceWorkerRouterOrConditionPtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterNotCondition::DataView, ::blink::mojom::ServiceWorkerRouterNotConditionPtr>::Read(
    ::blink::mojom::ServiceWorkerRouterNotCondition::DataView input,
    ::blink::mojom::ServiceWorkerRouterNotConditionPtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterCondition::DataView, ::blink::mojom::ServiceWorkerRouterConditionPtr>::Read(
    ::blink::mojom::ServiceWorkerRouterCondition::DataView input,
    ::blink::mojom::ServiceWorkerRouterConditionPtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterNetworkSource::DataView, ::blink::mojom::ServiceWorkerRouterNetworkSourcePtr>::Read(
    ::blink::mojom::ServiceWorkerRouterNetworkSource::DataView input,
    ::blink::mojom::ServiceWorkerRouterNetworkSourcePtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterRaceSource::DataView, ::blink::mojom::ServiceWorkerRouterRaceSourcePtr>::Read(
    ::blink::mojom::ServiceWorkerRouterRaceSource::DataView input,
    ::blink::mojom::ServiceWorkerRouterRaceSourcePtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterFetchEventSource::DataView, ::blink::mojom::ServiceWorkerRouterFetchEventSourcePtr>::Read(
    ::blink::mojom::ServiceWorkerRouterFetchEventSource::DataView input,
    ::blink::mojom::ServiceWorkerRouterFetchEventSourcePtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterCacheSource::DataView, ::blink::mojom::ServiceWorkerRouterCacheSourcePtr>::Read(
    ::blink::mojom::ServiceWorkerRouterCacheSource::DataView input,
    ::blink::mojom::ServiceWorkerRouterCacheSourcePtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterRule::DataView, ::blink::mojom::ServiceWorkerRouterRulePtr>::Read(
    ::blink::mojom::ServiceWorkerRouterRule::DataView input,
    ::blink::mojom::ServiceWorkerRouterRulePtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerRouterRules::DataView, ::blink::mojom::ServiceWorkerRouterRulesPtr>::Read(
    ::blink::mojom::ServiceWorkerRouterRules::DataView input,
    ::blink::mojom::ServiceWorkerRouterRulesPtr* output) {}

// static
bool UnionTraits<::blink::mojom::ServiceWorkerRouterSource::DataView, ::blink::mojom::ServiceWorkerRouterSourcePtr>::Read(
    ::blink::mojom::ServiceWorkerRouterSource::DataView input,
    ::blink::mojom::ServiceWorkerRouterSourcePtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace blink::mojom {




}  // blink::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif