chromium/out/Default/gen/services/network/public/mojom/cookie_manager.mojom-blink.cc

// services/network/public/mojom/cookie_manager.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 "services/network/public/mojom/cookie_manager.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 "services/network/public/mojom/cookie_manager.mojom-params-data.h"
#include "services/network/public/mojom/cookie_manager.mojom-shared-message-ids.h"

#include "services/network/public/mojom/cookie_manager.mojom-blink-import-headers.h"
#include "services/network/public/mojom/cookie_manager.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace network::mojom::blink {
CookieManagerParams::CookieManagerParams()
    :{}

CookieManagerParams::CookieManagerParams(
    bool block_third_party_cookies_in,
    bool tracking_protection_enabled_for_3pcd_in,
    bool mitigations_enabled_for_3pcd_in,
    WTF::HashMap<::content_settings::mojom::blink::ContentSettingsType, WTF::Vector<::content_settings::mojom::blink::ContentSettingPatternSourcePtr>> content_settings_in,
    WTF::Vector<WTF::String> secure_origin_cookies_allowed_schemes_in,
    WTF::Vector<WTF::String> matching_scheme_cookies_allowed_schemes_in,
    WTF::Vector<WTF::String> third_party_cookies_allowed_schemes_in,
    bool allow_file_scheme_cookies_in,
    CookieAccessDelegateType cookie_access_delegate_type_in)
    :{}

CookieManagerParams::~CookieManagerParams() = default;

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

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

CookieSameSiteContextMetadata::CookieSameSiteContextMetadata(
    CookieSameSiteContextMetadataDowngradeType cross_site_redirect_downgrade_in,
    ContextRedirectTypeBug1221316 redirect_type_bug_1221316_in,
    HttpMethod http_method_bug_1221316_in)
    :{}

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

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

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

CookieSameSiteContext::CookieSameSiteContext(
    ContextType context_in,
    ContextType schemeful_context_in,
    CookieSameSiteContextMetadataPtr metadata_in,
    CookieSameSiteContextMetadataPtr schemeful_metadata_in)
    :{}

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

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

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

CookieOptions::CookieOptions(
    bool exclude_httponly_in,
    CookieSameSiteContextPtr same_site_cookie_context_in,
    bool update_access_time_in,
    bool return_excluded_cookies_in)
    :{}

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

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

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

CanonicalCookie::CanonicalCookie(
    const WTF::String& name_in,
    const WTF::String& value_in,
    const WTF::String& domain_in,
    const WTF::String& path_in,
    ::base::Time creation_in,
    ::base::Time expiry_in,
    ::base::Time last_access_in,
    ::base::Time last_update_in,
    bool secure_in,
    bool httponly_in,
    CookieSameSite site_restrictions_in,
    CookiePriority priority_in,
    CookieSourceScheme source_scheme_in,
    ::network::mojom::blink::CookiePartitionKeyPtr partition_key_in,
    int32_t source_port_in,
    CookieSourceType source_type_in)
    :{}

CanonicalCookie::~CanonicalCookie() = default;

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

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

CookieInclusionStatus::CookieInclusionStatus(
    uint32_t exclusion_reasons_in,
    uint32_t warning_reasons_in,
    CookieExemptionReason exemption_reason_in)
    :{}

CookieInclusionStatus::~CookieInclusionStatus() = default;

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

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

CookieAndLineWithAccessResult::CookieAndLineWithAccessResult(
    const std::optional<::net::CanonicalCookie>& cookie_in,
    const WTF::String& cookie_string_in,
    CookieAccessResultPtr access_result_in)
    :{}

CookieAndLineWithAccessResult::~CookieAndLineWithAccessResult() = default;

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

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

CookieOrLineWithAccessResult::CookieOrLineWithAccessResult(
    CookieOrLinePtr cookie_or_line_in,
    CookieAccessResultPtr access_result_in)
    :{}

CookieOrLineWithAccessResult::~CookieOrLineWithAccessResult() = default;

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

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

CookieAccessResult::CookieAccessResult(
    CookieEffectiveSameSite effective_same_site_in,
    CookieAccessSemantics access_semantics_in,
    ::net::CookieInclusionStatus status_in,
    bool is_allowed_to_access_secure_cookies_in)
    :{}

CookieAccessResult::~CookieAccessResult() = default;

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

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

CookieWithAccessResult::CookieWithAccessResult(
    const ::net::CanonicalCookie& cookie_in,
    CookieAccessResultPtr access_result_in)
    :{}

CookieWithAccessResult::~CookieWithAccessResult() = default;

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

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

CookieChangeInfo::CookieChangeInfo(
    const ::net::CanonicalCookie& cookie_in,
    CookieAccessResultPtr access_result_in,
    CookieChangeCause cause_in)
    :{}

CookieChangeInfo::~CookieChangeInfo() = default;

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

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

CookieDeletionFilter::CookieDeletionFilter(
    std::optional<::base::Time> created_after_time_in,
    std::optional<::base::Time> created_before_time_in,
    std::optional<WTF::Vector<WTF::String>> excluding_domains_in,
    std::optional<WTF::Vector<WTF::String>> including_domains_in,
    const WTF::String& cookie_name_in,
    const WTF::String& host_name_in,
    const std::optional<::blink::KURL>& url_in,
    CookieDeletionSessionControl session_control_in,
    ::network::mojom::blink::CookiePartitionKeyCollectionPtr cookie_partition_key_collection_in,
    bool partitioned_state_only_in)
    :{}

CookieDeletionFilter::~CookieDeletionFilter() = default;

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

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

CookieOrLine::~CookieOrLine() {}


void CookieOrLine::set_cookie(
    const ::net::CanonicalCookie& cookie) {}
void CookieOrLine::set_cookie_string(
    const WTF::String& cookie_string) {}

void CookieOrLine::DestroyActive() {}

bool CookieOrLine::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char CookieChangeListener::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CookieChangeListener::OnCookieChange_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void CookieChangeListenerProxy::OnCookieChange(
    CookieChangeInfoPtr in_change) {}

// static
bool CookieChangeListenerStubDispatch::Accept(
    CookieChangeListener* impl,
    mojo::Message* message) {}

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

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

const char CookieManager::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CookieManager::GetAllCookies_Sym::IPCStableHash() {}
uint32_t CookieManager::GetAllCookiesWithAccessSemantics_Sym::IPCStableHash() {}
uint32_t CookieManager::GetCookieList_Sym::IPCStableHash() {}
uint32_t CookieManager::SetCanonicalCookie_Sym::IPCStableHash() {}
uint32_t CookieManager::DeleteCanonicalCookie_Sym::IPCStableHash() {}
uint32_t CookieManager::DeleteCookies_Sym::IPCStableHash() {}
uint32_t CookieManager::DeleteSessionOnlyCookies_Sym::IPCStableHash() {}
uint32_t CookieManager::DeleteStaleSessionOnlyCookies_Sym::IPCStableHash() {}
uint32_t CookieManager::AddCookieChangeListener_Sym::IPCStableHash() {}
uint32_t CookieManager::AddGlobalChangeListener_Sym::IPCStableHash() {}
uint32_t CookieManager::CloneInterface_Sym::IPCStableHash() {}
uint32_t CookieManager::FlushCookieStore_Sym::IPCStableHash() {}
uint32_t CookieManager::AllowFileSchemeCookies_Sym::IPCStableHash() {}
uint32_t CookieManager::SetContentSettings_Sym::IPCStableHash() {}
uint32_t CookieManager::SetForceKeepSessionState_Sym::IPCStableHash() {}
uint32_t CookieManager::BlockThirdPartyCookies_Sym::IPCStableHash() {}
uint32_t CookieManager::SetMitigationsEnabledFor3pcd_Sym::IPCStableHash() {}
uint32_t CookieManager::SetTrackingProtectionEnabledFor3pcd_Sym::IPCStableHash() {}
uint32_t CookieManager::SetPreCommitCallbackDelayForTesting_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class CookieManager_GetAllCookies_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_GetAllCookiesWithAccessSemantics_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_GetCookieList_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_SetCanonicalCookie_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_DeleteCanonicalCookie_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_DeleteCookies_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_DeleteSessionOnlyCookies_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_DeleteStaleSessionOnlyCookies_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_FlushCookieStore_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_AllowFileSchemeCookies_ForwardToCallback
    : public mojo::MessageReceiver {};

class CookieManager_SetContentSettings_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void CookieManagerProxy::GetAllCookies(
    GetAllCookiesCallback callback) {}

void CookieManagerProxy::GetAllCookiesWithAccessSemantics(
    GetAllCookiesWithAccessSemanticsCallback callback) {}

void CookieManagerProxy::GetCookieList(
    const ::blink::KURL& in_url, CookieOptionsPtr in_cookie_options, ::network::mojom::blink::CookiePartitionKeyCollectionPtr in_cookie_partition_key_collection, GetCookieListCallback callback) {}

void CookieManagerProxy::SetCanonicalCookie(
    const ::net::CanonicalCookie& in_cookie, const ::blink::KURL& in_source_url, CookieOptionsPtr in_cookie_options, SetCanonicalCookieCallback callback) {}

void CookieManagerProxy::DeleteCanonicalCookie(
    const ::net::CanonicalCookie& in_cookie, DeleteCanonicalCookieCallback callback) {}

void CookieManagerProxy::DeleteCookies(
    CookieDeletionFilterPtr in_filter, DeleteCookiesCallback callback) {}

void CookieManagerProxy::DeleteSessionOnlyCookies(
    DeleteSessionOnlyCookiesCallback callback) {}

void CookieManagerProxy::DeleteStaleSessionOnlyCookies(
    DeleteStaleSessionOnlyCookiesCallback callback) {}

void CookieManagerProxy::AddCookieChangeListener(
    const ::blink::KURL& in_url, const WTF::String& in_name, ::mojo::PendingRemote<CookieChangeListener> in_listener) {}

void CookieManagerProxy::AddGlobalChangeListener(
    ::mojo::PendingRemote<CookieChangeListener> in_notification_pointer) {}

void CookieManagerProxy::CloneInterface(
    ::mojo::PendingReceiver<CookieManager> in_new_interface) {}

void CookieManagerProxy::FlushCookieStore(
    FlushCookieStoreCallback callback) {}

void CookieManagerProxy::AllowFileSchemeCookies(
    bool in_allow, AllowFileSchemeCookiesCallback callback) {}

void CookieManagerProxy::SetContentSettings(
    ::content_settings::mojom::blink::ContentSettingsType in_content_settings_type, WTF::Vector<::content_settings::mojom::blink::ContentSettingPatternSourcePtr> in_settings, SetContentSettingsCallback callback) {}

void CookieManagerProxy::SetForceKeepSessionState(
    ) {}

void CookieManagerProxy::BlockThirdPartyCookies(
    bool in_block) {}

void CookieManagerProxy::SetMitigationsEnabledFor3pcd(
    bool in_enable) {}

void CookieManagerProxy::SetTrackingProtectionEnabledFor3pcd(
    bool in_enable) {}

void CookieManagerProxy::SetPreCommitCallbackDelayForTesting(
    ::base::TimeDelta in_delay) {}
class CookieManager_GetAllCookies_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_GetAllCookies_ProxyToResponder::Run(
    const WTF::Vector<::net::CanonicalCookie>& in_cookies) {}
class CookieManager_GetAllCookiesWithAccessSemantics_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_GetAllCookiesWithAccessSemantics_ProxyToResponder::Run(
    const WTF::Vector<::net::CanonicalCookie>& in_cookies, const WTF::Vector<CookieAccessSemantics>& in_access_semantics_list) {}
class CookieManager_GetCookieList_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_GetCookieList_ProxyToResponder::Run(
    WTF::Vector<CookieWithAccessResultPtr> in_cookies, WTF::Vector<CookieWithAccessResultPtr> in_excluded_cookies) {}
class CookieManager_SetCanonicalCookie_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_SetCanonicalCookie_ProxyToResponder::Run(
    CookieAccessResultPtr in_access_result) {}
class CookieManager_DeleteCanonicalCookie_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_DeleteCanonicalCookie_ProxyToResponder::Run(
    bool in_success) {}
class CookieManager_DeleteCookies_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_DeleteCookies_ProxyToResponder::Run(
    uint32_t in_num_deleted) {}
class CookieManager_DeleteSessionOnlyCookies_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::Run(
    uint32_t in_num_deleted) {}
class CookieManager_DeleteStaleSessionOnlyCookies_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_DeleteStaleSessionOnlyCookies_ProxyToResponder::Run(
    uint32_t in_num_deleted) {}
class CookieManager_FlushCookieStore_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_FlushCookieStore_ProxyToResponder::Run(
    ) {}
class CookieManager_AllowFileSchemeCookies_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_AllowFileSchemeCookies_ProxyToResponder::Run(
    bool in_success) {}
class CookieManager_SetContentSettings_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CookieManager_SetContentSettings_ProxyToResponder::Run(
    ) {}

// static
bool CookieManagerStubDispatch::Accept(
    CookieManager* impl,
    mojo::Message* message) {}

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

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

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


}  // network::mojom::blink


namespace mojo {


// static
bool StructTraits<::network::mojom::blink::CookieManagerParams::DataView, ::network::mojom::blink::CookieManagerParamsPtr>::Read(
    ::network::mojom::blink::CookieManagerParams::DataView input,
    ::network::mojom::blink::CookieManagerParamsPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieSameSiteContextMetadata::DataView, ::network::mojom::blink::CookieSameSiteContextMetadataPtr>::Read(
    ::network::mojom::blink::CookieSameSiteContextMetadata::DataView input,
    ::network::mojom::blink::CookieSameSiteContextMetadataPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieSameSiteContext::DataView, ::network::mojom::blink::CookieSameSiteContextPtr>::Read(
    ::network::mojom::blink::CookieSameSiteContext::DataView input,
    ::network::mojom::blink::CookieSameSiteContextPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieOptions::DataView, ::network::mojom::blink::CookieOptionsPtr>::Read(
    ::network::mojom::blink::CookieOptions::DataView input,
    ::network::mojom::blink::CookieOptionsPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CanonicalCookie::DataView, ::network::mojom::blink::CanonicalCookiePtr>::Read(
    ::network::mojom::blink::CanonicalCookie::DataView input,
    ::network::mojom::blink::CanonicalCookiePtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieInclusionStatus::DataView, ::network::mojom::blink::CookieInclusionStatusPtr>::Read(
    ::network::mojom::blink::CookieInclusionStatus::DataView input,
    ::network::mojom::blink::CookieInclusionStatusPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieAndLineWithAccessResult::DataView, ::network::mojom::blink::CookieAndLineWithAccessResultPtr>::Read(
    ::network::mojom::blink::CookieAndLineWithAccessResult::DataView input,
    ::network::mojom::blink::CookieAndLineWithAccessResultPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieOrLineWithAccessResult::DataView, ::network::mojom::blink::CookieOrLineWithAccessResultPtr>::Read(
    ::network::mojom::blink::CookieOrLineWithAccessResult::DataView input,
    ::network::mojom::blink::CookieOrLineWithAccessResultPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieAccessResult::DataView, ::network::mojom::blink::CookieAccessResultPtr>::Read(
    ::network::mojom::blink::CookieAccessResult::DataView input,
    ::network::mojom::blink::CookieAccessResultPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieWithAccessResult::DataView, ::network::mojom::blink::CookieWithAccessResultPtr>::Read(
    ::network::mojom::blink::CookieWithAccessResult::DataView input,
    ::network::mojom::blink::CookieWithAccessResultPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieChangeInfo::DataView, ::network::mojom::blink::CookieChangeInfoPtr>::Read(
    ::network::mojom::blink::CookieChangeInfo::DataView input,
    ::network::mojom::blink::CookieChangeInfoPtr* output) {}


// static
bool StructTraits<::network::mojom::blink::CookieDeletionFilter::DataView, ::network::mojom::blink::CookieDeletionFilterPtr>::Read(
    ::network::mojom::blink::CookieDeletionFilter::DataView input,
    ::network::mojom::blink::CookieDeletionFilterPtr* output) {}

// static
bool UnionTraits<::network::mojom::blink::CookieOrLine::DataView, ::network::mojom::blink::CookieOrLinePtr>::Read(
    ::network::mojom::blink::CookieOrLine::DataView input,
    ::network::mojom::blink::CookieOrLinePtr* 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 network::mojom::blink {


void CookieChangeListenerInterceptorForTesting::OnCookieChange(CookieChangeInfoPtr change) {}
CookieChangeListenerAsyncWaiter::CookieChangeListenerAsyncWaiter(
    CookieChangeListener* proxy) :{}

CookieChangeListenerAsyncWaiter::~CookieChangeListenerAsyncWaiter() = default;




void CookieManagerInterceptorForTesting::GetAllCookies(GetAllCookiesCallback callback) {}
void CookieManagerInterceptorForTesting::GetAllCookiesWithAccessSemantics(GetAllCookiesWithAccessSemanticsCallback callback) {}
void CookieManagerInterceptorForTesting::GetCookieList(const ::blink::KURL& url, CookieOptionsPtr cookie_options, ::network::mojom::blink::CookiePartitionKeyCollectionPtr cookie_partition_key_collection, GetCookieListCallback callback) {}
void CookieManagerInterceptorForTesting::SetCanonicalCookie(const ::net::CanonicalCookie& cookie, const ::blink::KURL& source_url, CookieOptionsPtr cookie_options, SetCanonicalCookieCallback callback) {}
void CookieManagerInterceptorForTesting::DeleteCanonicalCookie(const ::net::CanonicalCookie& cookie, DeleteCanonicalCookieCallback callback) {}
void CookieManagerInterceptorForTesting::DeleteCookies(CookieDeletionFilterPtr filter, DeleteCookiesCallback callback) {}
void CookieManagerInterceptorForTesting::DeleteSessionOnlyCookies(DeleteSessionOnlyCookiesCallback callback) {}
void CookieManagerInterceptorForTesting::DeleteStaleSessionOnlyCookies(DeleteStaleSessionOnlyCookiesCallback callback) {}
void CookieManagerInterceptorForTesting::AddCookieChangeListener(const ::blink::KURL& url, const WTF::String& name, ::mojo::PendingRemote<CookieChangeListener> listener) {}
void CookieManagerInterceptorForTesting::AddGlobalChangeListener(::mojo::PendingRemote<CookieChangeListener> notification_pointer) {}
void CookieManagerInterceptorForTesting::CloneInterface(::mojo::PendingReceiver<CookieManager> new_interface) {}
void CookieManagerInterceptorForTesting::FlushCookieStore(FlushCookieStoreCallback callback) {}
void CookieManagerInterceptorForTesting::AllowFileSchemeCookies(bool allow, AllowFileSchemeCookiesCallback callback) {}
void CookieManagerInterceptorForTesting::SetContentSettings(::content_settings::mojom::blink::ContentSettingsType content_settings_type, WTF::Vector<::content_settings::mojom::blink::ContentSettingPatternSourcePtr> settings, SetContentSettingsCallback callback) {}
void CookieManagerInterceptorForTesting::SetForceKeepSessionState() {}
void CookieManagerInterceptorForTesting::BlockThirdPartyCookies(bool block) {}
void CookieManagerInterceptorForTesting::SetMitigationsEnabledFor3pcd(bool enable) {}
void CookieManagerInterceptorForTesting::SetTrackingProtectionEnabledFor3pcd(bool enable) {}
void CookieManagerInterceptorForTesting::SetPreCommitCallbackDelayForTesting(::base::TimeDelta delay) {}
CookieManagerAsyncWaiter::CookieManagerAsyncWaiter(
    CookieManager* proxy) :{}

CookieManagerAsyncWaiter::~CookieManagerAsyncWaiter() = default;

void CookieManagerAsyncWaiter::GetAllCookies(
    WTF::Vector<::net::CanonicalCookie>* out_cookies) {}

WTF::Vector<::net::CanonicalCookie> CookieManagerAsyncWaiter::GetAllCookies(
    ) {}

void CookieManagerAsyncWaiter::GetAllCookiesWithAccessSemantics(
    WTF::Vector<::net::CanonicalCookie>* out_cookies, WTF::Vector<CookieAccessSemantics>* out_access_semantics_list) {}



void CookieManagerAsyncWaiter::GetCookieList(
    const ::blink::KURL& url, CookieOptionsPtr cookie_options, ::network::mojom::blink::CookiePartitionKeyCollectionPtr cookie_partition_key_collection, WTF::Vector<CookieWithAccessResultPtr>* out_cookies, WTF::Vector<CookieWithAccessResultPtr>* out_excluded_cookies) {}



void CookieManagerAsyncWaiter::SetCanonicalCookie(
    const ::net::CanonicalCookie& cookie, const ::blink::KURL& source_url, CookieOptionsPtr cookie_options, CookieAccessResultPtr* out_access_result) {}

CookieAccessResultPtr CookieManagerAsyncWaiter::SetCanonicalCookie(
    const ::net::CanonicalCookie& cookie, const ::blink::KURL& source_url, CookieOptionsPtr cookie_options) {}

void CookieManagerAsyncWaiter::DeleteCanonicalCookie(
    const ::net::CanonicalCookie& cookie, bool* out_success) {}

bool CookieManagerAsyncWaiter::DeleteCanonicalCookie(
    const ::net::CanonicalCookie& cookie) {}

void CookieManagerAsyncWaiter::DeleteCookies(
    CookieDeletionFilterPtr filter, uint32_t* out_num_deleted) {}

uint32_t CookieManagerAsyncWaiter::DeleteCookies(
    CookieDeletionFilterPtr filter) {}

void CookieManagerAsyncWaiter::DeleteSessionOnlyCookies(
    uint32_t* out_num_deleted) {}

uint32_t CookieManagerAsyncWaiter::DeleteSessionOnlyCookies(
    ) {}

void CookieManagerAsyncWaiter::DeleteStaleSessionOnlyCookies(
    uint32_t* out_num_deleted) {}

uint32_t CookieManagerAsyncWaiter::DeleteStaleSessionOnlyCookies(
    ) {}

void CookieManagerAsyncWaiter::FlushCookieStore(
    ) {}



void CookieManagerAsyncWaiter::AllowFileSchemeCookies(
    bool allow, bool* out_success) {}

bool CookieManagerAsyncWaiter::AllowFileSchemeCookies(
    bool allow) {}

void CookieManagerAsyncWaiter::SetContentSettings(
    ::content_settings::mojom::blink::ContentSettingsType content_settings_type, WTF::Vector<::content_settings::mojom::blink::ContentSettingPatternSourcePtr> settings) {}








}  // network::mojom::blink


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