chromium/out/Default/gen/third_party/blink/public/mojom/worker/shared_worker_factory.mojom-blink.cc

// third_party/blink/public/mojom/worker/shared_worker_factory.mojom-blink.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/worker/shared_worker_factory.mojom-blink.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/worker/shared_worker_factory.mojom-params-data.h"
#include "third_party/blink/public/mojom/worker/shared_worker_factory.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/worker/shared_worker_factory.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/worker/shared_worker_factory.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
#include "third_party/blink/public/common/service_worker/service_worker_embedded_worker_status_mojom_traits.h"
#include "third_party/blink/public/common/service_worker/service_worker_router_rule_mojom_traits.h"


namespace blink::mojom::blink {
const char kNavigation_SharedWorkerSpec[] =;
const char SharedWorkerFactory::Name_[] =;

SharedWorkerFactory::IPCStableHashFunction SharedWorkerFactory::MessageToMethodInfo_(mojo::Message& message) {}


const char* SharedWorkerFactory::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t SharedWorkerFactory::CreateSharedWorker_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

SharedWorkerFactoryProxy::SharedWorkerFactoryProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void SharedWorkerFactoryProxy::CreateSharedWorker(
    ::blink::mojom::blink::SharedWorkerInfoPtr in_info, const ::blink::SharedWorkerToken& in_token, const ::blink::BlinkStorageKey& in_constructor_key, const ::scoped_refptr<const ::blink::SecurityOrigin>& in_origin, bool in_is_constructor_secure_context, const WTF::String& in_user_agent, ::blink::mojom::blink::UserAgentMetadataPtr in_ua_metadata, bool in_pause_on_start, const ::base::UnguessableToken& in_devtools_worker_token, const ::blink::RendererPreferences& in_renderer_preferences, ::mojo::PendingReceiver<::blink::mojom::blink::RendererPreferenceWatcher> in_preference_watcher_receiver, ::mojo::PendingRemote<::blink::mojom::blink::WorkerContentSettingsProxy> in_content_settings, ::blink::mojom::blink::ServiceWorkerContainerInfoForClientPtr in_service_worker_container_info, ::blink::mojom::blink::WorkerMainScriptLoadParamsPtr in_main_script_load_params, ::std::unique_ptr<::blink::PendingURLLoaderFactoryBundle> in_subresource_loader_factories, ::blink::mojom::blink::ControllerServiceWorkerInfoPtr in_controller_info, ::blink::mojom::blink::PolicyContainerPtr in_policy_container, ::mojo::PendingRemote<::blink::mojom::blink::SharedWorkerHost> in_host, ::mojo::PendingReceiver<::blink::mojom::blink::SharedWorker> in_shared_worker, ::mojo::PendingRemote<::blink::mojom::blink::BrowserInterfaceBroker> in_browser_interface_broker, int64_t in_ukm_source_id, bool in_require_cross_site_request_for_cookies) {}

// static
bool SharedWorkerFactoryStubDispatch::Accept(
    SharedWorkerFactory* impl,
    mojo::Message* message) {}

// static
bool SharedWorkerFactoryStubDispatch::AcceptWithResponder(
    SharedWorkerFactory* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kSharedWorkerFactoryValidationInfo[] =;

bool SharedWorkerFactoryRequestValidator::Accept(mojo::Message* message) {}



}  // blink::mojom::blink


namespace mojo {

}  // 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 {


void SharedWorkerFactoryInterceptorForTesting::CreateSharedWorker(::blink::mojom::blink::SharedWorkerInfoPtr info, const ::blink::SharedWorkerToken& token, const ::blink::BlinkStorageKey& constructor_key, const ::scoped_refptr<const ::blink::SecurityOrigin>& origin, bool is_constructor_secure_context, const WTF::String& user_agent, ::blink::mojom::blink::UserAgentMetadataPtr ua_metadata, bool pause_on_start, const ::base::UnguessableToken& devtools_worker_token, const ::blink::RendererPreferences& renderer_preferences, ::mojo::PendingReceiver<::blink::mojom::blink::RendererPreferenceWatcher> preference_watcher_receiver, ::mojo::PendingRemote<::blink::mojom::blink::WorkerContentSettingsProxy> content_settings, ::blink::mojom::blink::ServiceWorkerContainerInfoForClientPtr service_worker_container_info, ::blink::mojom::blink::WorkerMainScriptLoadParamsPtr main_script_load_params, ::std::unique_ptr<::blink::PendingURLLoaderFactoryBundle> subresource_loader_factories, ::blink::mojom::blink::ControllerServiceWorkerInfoPtr controller_info, ::blink::mojom::blink::PolicyContainerPtr policy_container, ::mojo::PendingRemote<::blink::mojom::blink::SharedWorkerHost> host, ::mojo::PendingReceiver<::blink::mojom::blink::SharedWorker> shared_worker, ::mojo::PendingRemote<::blink::mojom::blink::BrowserInterfaceBroker> browser_interface_broker, int64_t ukm_source_id, bool require_cross_site_request_for_cookies) {}
SharedWorkerFactoryAsyncWaiter::SharedWorkerFactoryAsyncWaiter(
    SharedWorkerFactory* proxy) :{}

SharedWorkerFactoryAsyncWaiter::~SharedWorkerFactoryAsyncWaiter() = default;






}  // blink::mojom::blink


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