#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.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-import-headers.h"
#include "third_party/blink/public/mojom/cache_storage/cache_storage.mojom-test-utils.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"
namespace blink::mojom {
CacheStorageVerboseError::CacheStorageVerboseError()
: … { … }
CacheStorageVerboseError::CacheStorageVerboseError(
CacheStorageError value_in,
const std::optional<std::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 std::optional<::std::u16string>& 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::FetchAPIRequestPtr request_in,
::blink::mojom::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::FetchAPIResponsePtr response_in,
::mojo::ScopedDataPipeConsumerHandle pipe_in,
::mojo::PendingReceiver<::blink::mojom::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::FetchAPIRequestPtr request_in,
::blink::mojom::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::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(
std::vector<::blink::mojom::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(
std::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(
std::vector<::blink::mojom::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::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::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, int64_t in_trace_id, MatchAllCallback callback) { … }
void CacheStorageCacheProxy::GetAllMatchedEntries(
::blink::mojom::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, int64_t in_trace_id, GetAllMatchedEntriesCallback callback) { … }
void CacheStorageCacheProxy::Keys(
::blink::mojom::FetchAPIRequestPtr in_request, CacheQueryOptionsPtr in_query_options, int64_t in_trace_id, KeysCallback callback) { … }
void CacheStorageCacheProxy::Batch(
std::vector<BatchOperationPtr> in_batch_operations, int64_t in_trace_id, BatchCallback callback) { … }
void CacheStorageCacheProxy::WriteSideData(
const ::GURL& 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 ::std::u16string& in_cache_name, int64_t in_trace_id, HasCallback callback) { … }
void CacheStorageProxy::Delete(
const ::std::u16string& 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::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 ::std::u16string& 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 std::vector<::std::u16string>& 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::CacheStorageVerboseError::DataView, ::blink::mojom::CacheStorageVerboseErrorPtr>::Read(
::blink::mojom::CacheStorageVerboseError::DataView input,
::blink::mojom::CacheStorageVerboseErrorPtr* output) { … }
bool StructTraits<::blink::mojom::CacheQueryOptions::DataView, ::blink::mojom::CacheQueryOptionsPtr>::Read(
::blink::mojom::CacheQueryOptions::DataView input,
::blink::mojom::CacheQueryOptionsPtr* output) { … }
bool StructTraits<::blink::mojom::MultiCacheQueryOptions::DataView, ::blink::mojom::MultiCacheQueryOptionsPtr>::Read(
::blink::mojom::MultiCacheQueryOptions::DataView input,
::blink::mojom::MultiCacheQueryOptionsPtr* output) { … }
bool StructTraits<::blink::mojom::BatchOperation::DataView, ::blink::mojom::BatchOperationPtr>::Read(
::blink::mojom::BatchOperation::DataView input,
::blink::mojom::BatchOperationPtr* output) { … }
bool StructTraits<::blink::mojom::EagerResponse::DataView, ::blink::mojom::EagerResponsePtr>::Read(
::blink::mojom::EagerResponse::DataView input,
::blink::mojom::EagerResponsePtr* output) { … }
bool StructTraits<::blink::mojom::CacheEntry::DataView, ::blink::mojom::CacheEntryPtr>::Read(
::blink::mojom::CacheEntry::DataView input,
::blink::mojom::CacheEntryPtr* output) { … }
bool UnionTraits<::blink::mojom::OpenResult::DataView, ::blink::mojom::OpenResultPtr>::Read(
::blink::mojom::OpenResult::DataView input,
::blink::mojom::OpenResultPtr* output) { … }
bool UnionTraits<::blink::mojom::MatchResult::DataView, ::blink::mojom::MatchResultPtr>::Read(
::blink::mojom::MatchResult::DataView input,
::blink::mojom::MatchResultPtr* output) { … }
bool UnionTraits<::blink::mojom::MatchAllResult::DataView, ::blink::mojom::MatchAllResultPtr>::Read(
::blink::mojom::MatchAllResult::DataView input,
::blink::mojom::MatchAllResultPtr* output) { … }
bool UnionTraits<::blink::mojom::GetAllMatchedEntriesResult::DataView, ::blink::mojom::GetAllMatchedEntriesResultPtr>::Read(
::blink::mojom::GetAllMatchedEntriesResult::DataView input,
::blink::mojom::GetAllMatchedEntriesResultPtr* output) { … }
bool UnionTraits<::blink::mojom::CacheKeysResult::DataView, ::blink::mojom::CacheKeysResultPtr>::Read(
::blink::mojom::CacheKeysResult::DataView input,
::blink::mojom::CacheKeysResultPtr* output) { … }
}
namespace blink::mojom {
void CacheStorageCacheInterceptorForTesting::Match(::blink::mojom::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::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, MatchAllCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::GetAllMatchedEntries(::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, GetAllMatchedEntriesCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::Keys(::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, KeysCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::Batch(std::vector<BatchOperationPtr> batch_operations, int64_t trace_id, BatchCallback callback) { … }
void CacheStorageCacheInterceptorForTesting::WriteSideData(const ::GURL& 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::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::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::MatchAll(
::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, MatchAllResultPtr* out_result) { … }
MatchAllResultPtr CacheStorageCacheAsyncWaiter::MatchAll(
::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::GetAllMatchedEntries(
::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, GetAllMatchedEntriesResultPtr* out_result) { … }
GetAllMatchedEntriesResultPtr CacheStorageCacheAsyncWaiter::GetAllMatchedEntries(
::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::Keys(
::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id, CacheKeysResultPtr* out_result) { … }
CacheKeysResultPtr CacheStorageCacheAsyncWaiter::Keys(
::blink::mojom::FetchAPIRequestPtr request, CacheQueryOptionsPtr query_options, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::Batch(
std::vector<BatchOperationPtr> batch_operations, int64_t trace_id, CacheStorageVerboseErrorPtr* out_result) { … }
CacheStorageVerboseErrorPtr CacheStorageCacheAsyncWaiter::Batch(
std::vector<BatchOperationPtr> batch_operations, int64_t trace_id) { … }
void CacheStorageCacheAsyncWaiter::WriteSideData(
const ::GURL& url, ::base::Time expected_response_time, ::mojo_base::BigBuffer data, int64_t trace_id, CacheStorageError* out_result) { … }
CacheStorageError CacheStorageCacheAsyncWaiter::WriteSideData(
const ::GURL& url, ::base::Time expected_response_time, ::mojo_base::BigBuffer data, int64_t trace_id) { … }
void CacheStorageInterceptorForTesting::Has(const ::std::u16string& cache_name, int64_t trace_id, HasCallback callback) { … }
void CacheStorageInterceptorForTesting::Delete(const ::std::u16string& cache_name, int64_t trace_id, DeleteCallback callback) { … }
void CacheStorageInterceptorForTesting::Keys(int64_t trace_id, KeysCallback callback) { … }
void CacheStorageInterceptorForTesting::Match(::blink::mojom::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 ::std::u16string& cache_name, int64_t trace_id, OpenCallback callback) { … }
CacheStorageAsyncWaiter::CacheStorageAsyncWaiter(
CacheStorage* proxy) : … { … }
CacheStorageAsyncWaiter::~CacheStorageAsyncWaiter() = default;
void CacheStorageAsyncWaiter::Has(
const ::std::u16string& cache_name, int64_t trace_id, CacheStorageError* out_result) { … }
CacheStorageError CacheStorageAsyncWaiter::Has(
const ::std::u16string& cache_name, int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Delete(
const ::std::u16string& cache_name, int64_t trace_id, CacheStorageError* out_result) { … }
CacheStorageError CacheStorageAsyncWaiter::Delete(
const ::std::u16string& cache_name, int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Keys(
int64_t trace_id, std::vector<::std::u16string>* out_keys) { … }
std::vector<::std::u16string> CacheStorageAsyncWaiter::Keys(
int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Match(
::blink::mojom::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::FetchAPIRequestPtr request, MultiCacheQueryOptionsPtr match_options, bool in_related_fetch_event, bool in_range_fetch_event, int64_t trace_id) { … }
void CacheStorageAsyncWaiter::Open(
const ::std::u16string& cache_name, int64_t trace_id, OpenResultPtr* out_result) { … }
OpenResultPtr CacheStorageAsyncWaiter::Open(
const ::std::u16string& cache_name, int64_t trace_id) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif