| Index: Source/modules/cachestorage/CacheStorage.h
|
| diff --git a/Source/modules/cachestorage/CacheStorage.h b/Source/modules/cachestorage/CacheStorage.h
|
| index 90d80328a73c60dc026fab55eae147190b0d2f84..9d74f455c5e401ed509c2854e897f97bc8cd3e21 100644
|
| --- a/Source/modules/cachestorage/CacheStorage.h
|
| +++ b/Source/modules/cachestorage/CacheStorage.h
|
| @@ -26,13 +26,15 @@ class CacheStorage final : public GarbageCollectedFinalized<CacheStorage>, publi
|
| WTF_MAKE_NONCOPYABLE(CacheStorage);
|
| public:
|
| static CacheStorage* create(WeakPtr<GlobalFetch::ScopedFetcher>, WebServiceWorkerCacheStorage*);
|
| + static bool canAccessCacheStorage(ExecutionContext*, String* errorMessage = nullptr);
|
| +
|
| ~CacheStorage();
|
| void dispose();
|
|
|
| - ScriptPromise open(ScriptState*, const String& cacheName);
|
| - ScriptPromise has(ScriptState*, const String& cacheName);
|
| - ScriptPromise deleteFunction(ScriptState*, const String& cacheName);
|
| - ScriptPromise keys(ScriptState*);
|
| + ScriptPromise open(ScriptState*, const String& cacheName, ExceptionState&);
|
| + ScriptPromise has(ScriptState*, const String& cacheName, ExceptionState&);
|
| + ScriptPromise deleteFunction(ScriptState*, const String& cacheName, ExceptionState&);
|
| + ScriptPromise keys(ScriptState*, ExceptionState&);
|
| ScriptPromise match(ScriptState*, const RequestInfo&, const CacheQueryOptions&, ExceptionState&);
|
|
|
| DECLARE_TRACE();
|
|
|