#include "third_party/blink/renderer/modules/cache_storage/global_cache_storage.h"
#include "third_party/blink/public/platform/web_security_origin.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/workers/worker_global_scope.h"
#include "third_party/blink/renderer/modules/cache_storage/cache_storage.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/supplementable.h"
namespace blink {
namespace {
template <typename T>
class GlobalCacheStorageImpl final
: public GarbageCollected<GlobalCacheStorageImpl<T>>,
public Supplement<T> { … };
template <typename T>
const char GlobalCacheStorageImpl<T>::kSupplementName[] = …;
}
bool GlobalCacheStorage::CanCreateCacheStorage(
ExecutionContext* context,
ExceptionState& exception_state) { … }
CacheStorage* GlobalCacheStorage::caches(LocalDOMWindow& window,
ExceptionState& exception_state) { … }
CacheStorage* GlobalCacheStorage::caches(WorkerGlobalScope& worker,
ExceptionState& exception_state) { … }
}