#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "third_party/blink/public/mojom/cache_storage/cache_storage.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/cache_storage/cache_storage.mojom-params-data.h"
#include "third_party/blink/public/mojom/cache_storage/cache_storage.mojom-shared-message-ids.h"
#include "third_party/blink/public/mojom/cache_storage/cache_storage.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/cache_storage/cache_storage.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
#include "services/network/public/mojom/cookie_access_observer.mojom.h"
#include "services/network/public/mojom/devtools_observer.mojom.h"
#include "services/network/public/mojom/trust_token_access_observer.mojom.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_api_request_body_mojom_traits.h"
namespace blink::mojom::blink {
CacheStorageVerboseError::CacheStorageVerboseError()
: … { … }
CacheStorageVerboseError::CacheStorageVerboseError(
CacheStorageError value_in,
const WTF::String& message_in)
: … { … }
CacheStorageVerboseError::~CacheStorageVerboseError() = default;
void CacheStorageVerboseError::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CacheStorageVerboseError::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CacheQueryOptions::CacheQueryOptions()
: … { … }
CacheQueryOptions::CacheQueryOptions(
bool ignore_search_in,
bool ignore_method_in,
bool ignore_vary_in)
: … { … }
CacheQueryOptions::~CacheQueryOptions() = default;
size_t CacheQueryOptions::Hash(size_t seed) const { … }
void CacheQueryOptions::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CacheQueryOptions::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MultiCacheQueryOptions::MultiCacheQueryOptions()
: … { … }
MultiCacheQueryOptions::MultiCacheQueryOptions(
CacheQueryOptionsPtr query_options_in,
const ::WTF::String& cache_name_in)
: … { … }
MultiCacheQueryOptions::~MultiCacheQueryOptions() = default;
void MultiCacheQueryOptions::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool MultiCacheQueryOptions::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BatchOperation::BatchOperation()
: … { … }
BatchOperation::BatchOperation(
OperationType operation_type_in,
::blink::mojom::blink::FetchAPIRequestPtr request_in,
::blink::mojom::blink::FetchAPIResponsePtr response_in,
CacheQueryOptionsPtr match_options_in)
: … { … }
BatchOperation::~BatchOperation() = default;
void BatchOperation::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool BatchOperation::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EagerResponse::EagerResponse()
: … { … }
EagerResponse::EagerResponse(
::blink::mojom::blink::FetchAPIResponsePtr response_in,
::mojo::ScopedDataPipeConsumerHandle pipe_in,
::mojo::PendingReceiver<::blink::mojom::blink::BlobReaderClient> client_receiver_in)
: … { … }
EagerResponse::~EagerResponse() = default;
void EagerResponse::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool EagerResponse::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CacheEntry::CacheEntry()
: … { … }
CacheEntry::CacheEntry(
::blink::mojom::blink::FetchAPIRequestPtr request_in,
::blink::mojom::blink::FetchAPIResponsePtr response_in)
: … { … }
CacheEntry::~CacheEntry() = default;
void CacheEntry::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CacheEntry::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OpenResult::OpenResult() : … { … }
OpenResult::~OpenResult() { … }
void OpenResult::set_status(
CacheStorageError status) { … }
void OpenResult::set_cache(
::mojo::PendingAssociatedRemote<CacheStorageCache> cache) { … }
void OpenResult::DestroyActive() { … }
bool OpenResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MatchResult::MatchResult() : … { … }
MatchResult::~MatchResult() { … }
void MatchResult::set_status(
CacheStorageError status) { … }
void MatchResult::set_response(
::blink::mojom::blink::FetchAPIResponsePtr response) { … }
void MatchResult::set_eager_response(
EagerResponsePtr eager_response) { … }
void MatchResult::DestroyActive() { … }
bool MatchResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MatchAllResult::MatchAllResult() : … { … }
MatchAllResult::~MatchAllResult() { … }
void MatchAllResult::set_status(
CacheStorageError status) { … }
void MatchAllResult::set_responses(
WTF::Vector<::blink::mojom::blink::FetchAPIResponsePtr> responses) { … }
void MatchAllResult::DestroyActive() { … }
bool MatchAllResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GetAllMatchedEntriesResult::GetAllMatchedEntriesResult() : … { … }
GetAllMatchedEntriesResult::~GetAllMatchedEntriesResult() { … }
void GetAllMatchedEntriesResult::set_status(
CacheStorageError status) { … }
void GetAllMatchedEntriesResult::set_entries(
WTF::Vector<CacheEntryPtr> entries) { … }
void GetAllMatchedEntriesResult::DestroyActive() { … }
bool GetAllMatchedEntriesResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CacheKeysResult::CacheKeysResult() : … { … }
CacheKeysResult::~CacheKeysResult() { … }
void CacheKeysResult::set_status(
CacheStorageError status) { … }
void CacheKeysResult::set_keys(
WTF::Vector<::blink::mojom::blink::FetchAPIRequestPtr> keys) { … }
void CacheKeysResult::DestroyActive() { … }
bool CacheKeysResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char CacheStorageCache::Name_[] = …;
CacheStorageCache::IPCStableHashFunction CacheStorageCache::MessageToMethodInfo_(mojo::Message& message) { … }
const char* CacheStorageCache::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CacheStorageCache::Match_Sym::IPCStableHash() { … }
uint32_t CacheStorageCache::MatchAll_Sym::IPCStableHash() { … }
uint32_t CacheStorageCache::GetAllMatchedEntries_Sym::IPCStableHash() { … }
uint32_t CacheStorageCache::Keys_Sym::IPCStableHash() { … }
uint32_t CacheStorageCache::Batch_Sym::IPCStableHash() { … }
uint32_t CacheStorageCache::WriteSideData_Sym::IPCStableHash() { … }
# endif
class CacheStorageCache_Match_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorageCache_MatchAll_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorageCache_GetAllMatchedEntries_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorageCache_Keys_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorageCache_Batch_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorageCache_WriteSideData_ForwardToCallback
: public mojo::MessageReceiver { … };
CacheStorageCacheProxy::CacheStorageCacheProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void CacheStorageCacheProxy::Match(
::blink::mojom::blink::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, bool in_in_related_fetch_event, bool in_in_range_fetch_event, int64_t in_trace_id, MatchCallback callback) { … }
void CacheStorageCacheProxy::MatchAll(
::blink::mojom::blink::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, int64_t in_trace_id, MatchAllCallback callback) { … }
void CacheStorageCacheProxy::GetAllMatchedEntries(
::blink::mojom::blink::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, int64_t in_trace_id, GetAllMatchedEntriesCallback callback) { … }
void CacheStorageCacheProxy::Keys(
::blink::mojom::blink::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, int64_t in_trace_id, KeysCallback callback) { … }
void CacheStorageCacheProxy::Batch(
WTF::Vector<BatchOperationPtr> in_batch_operations, int64_t in_trace_id, BatchCallback callback) { … }
void CacheStorageCacheProxy::WriteSideData(
const ::blink::KURL& in_url, ::base::Time in_expected_response_time, ::mojo_base::BigBuffer in_data, int64_t in_trace_id, WriteSideDataCallback callback) { … }
class CacheStorageCache_Match_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorageCache_Match_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorageCache_Match_ProxyToResponder::Run(
MatchResultPtr in_result) { … }
class CacheStorageCache_MatchAll_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorageCache_MatchAll_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorageCache_MatchAll_ProxyToResponder::Run(
MatchAllResultPtr in_result) { … }
class CacheStorageCache_GetAllMatchedEntries_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorageCache_GetAllMatchedEntries_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorageCache_GetAllMatchedEntries_ProxyToResponder::Run(
GetAllMatchedEntriesResultPtr in_result) { … }
class CacheStorageCache_Keys_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorageCache_Keys_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorageCache_Keys_ProxyToResponder::Run(
CacheKeysResultPtr in_result) { … }
class CacheStorageCache_Batch_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorageCache_Batch_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorageCache_Batch_ProxyToResponder::Run(
CacheStorageVerboseErrorPtr in_result) { … }
class CacheStorageCache_WriteSideData_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorageCache_WriteSideData_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorageCache_WriteSideData_ProxyToResponder::Run(
CacheStorageError in_result) { … }
bool CacheStorageCacheStubDispatch::Accept(
CacheStorageCache* impl,
mojo::Message* message) { … }
bool CacheStorageCacheStubDispatch::AcceptWithResponder(
CacheStorageCache* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kCacheStorageCacheValidationInfo[] = …;
bool CacheStorageCacheRequestValidator::Accept(mojo::Message* message) { … }
bool CacheStorageCacheResponseValidator::Accept(mojo::Message* message) { … }
const char CacheStorage::Name_[] = …;
CacheStorage::IPCStableHashFunction CacheStorage::MessageToMethodInfo_(mojo::Message& message) { … }
const char* CacheStorage::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CacheStorage::Has_Sym::IPCStableHash() { … }
uint32_t CacheStorage::Delete_Sym::IPCStableHash() { … }
uint32_t CacheStorage::Keys_Sym::IPCStableHash() { … }
uint32_t CacheStorage::Match_Sym::IPCStableHash() { … }
uint32_t CacheStorage::Open_Sym::IPCStableHash() { … }
# endif
class CacheStorage_Has_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorage_Delete_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorage_Keys_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorage_Match_ForwardToCallback
: public mojo::MessageReceiver { … };
class CacheStorage_Open_ForwardToCallback
: public mojo::MessageReceiver { … };
CacheStorageProxy::CacheStorageProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void CacheStorageProxy::Has(
const ::WTF::String& in_cache_name, int64_t in_trace_id, HasCallback callback) { … }
void CacheStorageProxy::Delete(
const ::WTF::String& in_cache_name, int64_t in_trace_id, DeleteCallback callback) { … }
void CacheStorageProxy::Keys(
int64_t in_trace_id, KeysCallback callback) { … }
void CacheStorageProxy::Match(
::blink::mojom::blink::FetchAPIRequestPtr in_request, MultiCacheQueryOptionsPtr in_match_options, bool in_in_related_fetch_event, bool in_in_range_fetch_event, int64_t in_trace_id, MatchCallback callback) { … }
void CacheStorageProxy::Open(
const ::WTF::String& in_cache_name, int64_t in_trace_id, OpenCallback callback) { … }
class CacheStorage_Has_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorage_Has_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorage_Has_ProxyToResponder::Run(
CacheStorageError in_result) { … }
class CacheStorage_Delete_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorage_Delete_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorage_Delete_ProxyToResponder::Run(
CacheStorageError in_result) { … }
class CacheStorage_Keys_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorage_Keys_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorage_Keys_ProxyToResponder::Run(
const WTF::Vector<::WTF::String>& in_keys) { … }
class CacheStorage_Match_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorage_Match_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorage_Match_ProxyToResponder::Run(
MatchResultPtr in_result) { … }
class CacheStorage_Open_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool CacheStorage_Open_ForwardToCallback::Accept(
mojo::Message* message) { … }
void CacheStorage_Open_ProxyToResponder::Run(
OpenResultPtr in_result) { … }
bool CacheStorageStubDispatch::Accept(
CacheStorage* impl,
mojo::Message* message) { … }
bool CacheStorageStubDispatch::AcceptWithResponder(
CacheStorage* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kCacheStorageValidationInfo[] = …;
bool CacheStorageRequestValidator::Accept(mojo::Message* message) { … }
bool CacheStorageResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::blink::mojom::blink::CacheStorageVerboseError::DataView, ::blink::mojom::blink::CacheStorageVerboseErrorPtr>::Read(
::blink::mojom::blink::CacheStorageVerboseError::DataView input,
::blink::mojom::blink::CacheStorageVerboseErrorPtr* output) { … }
bool StructTraits<::blink::mojom::blink::CacheQueryOptions::DataView, ::blink::mojom::blink::CacheQueryOptionsPtr>::Read(
::blink::mojom::blink::CacheQueryOptions::DataView input,
::blink::mojom::blink::CacheQueryOptionsPtr* output) { … }
bool StructTraits<::blink::mojom::blink::MultiCacheQueryOptions::DataView, ::blink::mojom::blink::MultiCacheQueryOptionsPtr>::Read(
::blink::mojom::blink::MultiCacheQueryOptions::DataView input,
::blink::mojom::blink::MultiCacheQueryOptionsPtr* output) { … }
bool StructTraits<::blink::mojom::blink::BatchOperation::DataView, ::blink::mojom::blink::BatchOperationPtr>::Read(
::blink::mojom::blink::BatchOperation::DataView input,
::blink::mojom::blink::BatchOperationPtr* output) { … }
bool StructTraits<::blink::mojom::blink::EagerResponse::DataView, ::blink::mojom::blink::EagerResponsePtr>::Read(
::blink::mojom::blink::EagerResponse::DataView input,
::blink::mojom::blink::EagerResponsePtr* output) { … }
bool StructTraits<::blink::mojom::blink::CacheEntry::DataView, ::blink::mojom::blink::CacheEntryPtr>::Read(
::blink::mojom::blink::CacheEntry::DataView input,
::blink::mojom::blink::CacheEntryPtr* output) { … }
bool UnionTraits<::blink::mojom::blink::OpenResult::DataView, ::blink::mojom::blink::OpenResultPtr>::Read(
::blink::mojom::blink::OpenResult::DataView input,
::blink::mojom::blink::OpenResultPtr* output) { … }
bool UnionTraits<::blink::mojom::blink::MatchResult::DataView, ::blink::mojom::blink::MatchResultPtr>::Read(
::blink::mojom::blink::MatchResult::DataView input,
::blink::mojom::blink::MatchResultPtr* output) { … }
bool UnionTraits<::blink::mojom::blink::MatchAllResult::DataView, ::blink::mojom::blink::MatchAllResultPtr>::Read(
::blink::mojom::blink::MatchAllResult::DataView input,
::blink::mojom::blink::MatchAllResultPtr* output) { … }
bool UnionTraits<::blink::mojom::blink::GetAllMatchedEntriesResult::DataView, ::blink::mojom::blink::GetAllMatchedEntriesResultPtr>::Read(
::blink::mojom::blink::GetAllMatchedEntriesResult::DataView input,
::blink::mojom::blink::GetAllMatchedEntriesResultPtr* output) { … }
bool UnionTraits<::blink::mojom::blink::CacheKeysResult::DataView, ::blink::mojom::blink::CacheKeysResultPtr>::Read(
::blink::mojom::blink::CacheKeysResult::DataView input,
::blink::mojom::blink::CacheKeysResultPtr* output) { … }
}
namespace blink::mojom::blink {
void CacheStorageCacheInterceptorForTesting::Match(::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id, MatchCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::MatchAll(::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, MatchAllCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::GetAllMatchedEntries(::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, GetAllMatchedEntriesCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::Keys(::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, KeysCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::Batch(WTF::Vector<BatchOperationPtr> batch_operations, int64_t trace_id, BatchCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::WriteSideData(const ::blink::KURL& url, ::base::Time expected_response_time, ::mojo_base::BigBuffer data, int64_t trace_id, WriteSideDataCallback callback) { … }
CacheStorageCacheAsyncWaiter::CacheStorageCacheAsyncWaiter(
CacheStorageCache* proxy) : … { … }
CacheStorageCacheAsyncWaiter::~CacheStorageCacheAsyncWaiter() = default;
void CacheStorageCacheAsyncWaiter::Match(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id, MatchResultPtr* out_result) { … }
MatchResultPtr CacheStorageCacheAsyncWaiter::Match(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::MatchAll(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, MatchAllResultPtr* out_result) { … }
MatchAllResultPtr CacheStorageCacheAsyncWaiter::MatchAll(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::GetAllMatchedEntries(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, GetAllMatchedEntriesResultPtr* out_result) { … }
GetAllMatchedEntriesResultPtr CacheStorageCacheAsyncWaiter::GetAllMatchedEntries(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::Keys(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, CacheKeysResultPtr* out_result) { … }
CacheKeysResultPtr CacheStorageCacheAsyncWaiter::Keys(
::blink::mojom::blink::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::Batch(
WTF::Vector<BatchOperationPtr> batch_operations, int64_t trace_id, CacheStorageVerboseErrorPtr* out_result) { … }
CacheStorageVerboseErrorPtr CacheStorageCacheAsyncWaiter::Batch(
WTF::Vector<BatchOperationPtr> batch_operations, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::WriteSideData(
const ::blink::KURL& url, ::base::Time expected_response_time, ::mojo_base::BigBuffer data, int64_t trace_id, CacheStorageError* out_result) { … }
CacheStorageError CacheStorageCacheAsyncWaiter::WriteSideData(
const ::blink::KURL& url, ::base::Time expected_response_time, ::mojo_base::BigBuffer data, int64_t trace_id) { … }
void CacheStorageInterceptorForTesting::Has(const ::WTF::String& cache_name, int64_t trace_id, HasCallback callback) { … }
void CacheStorageInterceptorForTesting::Delete(const ::WTF::String& cache_name, int64_t trace_id, DeleteCallback callback) { … }
void CacheStorageInterceptorForTesting::Keys(int64_t trace_id, KeysCallback callback) { … }
void CacheStorageInterceptorForTesting::Match(::blink::mojom::blink::FetchAPIRequestPtr request, MultiCacheQueryOptionsPtr match_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id, MatchCallback callback) { … }
void CacheStorageInterceptorForTesting::Open(const ::WTF::String& cache_name, int64_t trace_id, OpenCallback callback) { … }
CacheStorageAsyncWaiter::CacheStorageAsyncWaiter(
CacheStorage* proxy) : … { … }
CacheStorageAsyncWaiter::~CacheStorageAsyncWaiter() = default;
void CacheStorageAsyncWaiter::Has(
const ::WTF::String& cache_name, int64_t trace_id, CacheStorageError* out_result) { … }
CacheStorageError CacheStorageAsyncWaiter::Has(
const ::WTF::String& cache_name, int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Delete(
const ::WTF::String& cache_name, int64_t trace_id, CacheStorageError* out_result) { … }
CacheStorageError CacheStorageAsyncWaiter::Delete(
const ::WTF::String& cache_name, int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Keys(
int64_t trace_id, WTF::Vector<::WTF::String>* out_keys) { … }
WTF::Vector<::WTF::String> CacheStorageAsyncWaiter::Keys(
int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Match(
::blink::mojom::blink::FetchAPIRequestPtr request, MultiCacheQueryOptionsPtr match_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id, MatchResultPtr* out_result) { … }
MatchResultPtr CacheStorageAsyncWaiter::Match(
::blink::mojom::blink::FetchAPIRequestPtr request, MultiCacheQueryOptionsPtr match_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Open(
const ::WTF::String& cache_name, int64_t trace_id, OpenResultPtr* out_result) { … }
OpenResultPtr CacheStorageAsyncWaiter::Open(
const ::WTF::String& cache_name, int64_t trace_id) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif