Rename CacheStorage to DOMCacheStorage
[WebKit-https.git] / Source / WebCore / Modules / cache / DOMCacheStorage.h
similarity index 87%
rename from Source/WebCore/Modules/cache/CacheStorage.h
rename to Source/WebCore/Modules/cache/DOMCacheStorage.h
index 4bcfb2e..c0b9904 100644 (file)
@@ -32,9 +32,9 @@
 
 namespace WebCore {
 
-class CacheStorage : public RefCounted<CacheStorage>, public ActiveDOMObject {
+class DOMCacheStorage : public RefCounted<DOMCacheStorage>, public ActiveDOMObject {
 public:
-    static Ref<CacheStorage> create(ScriptExecutionContext& context, Ref<CacheStorageConnection>&& connection) { return adoptRef(*new CacheStorage(context, WTFMove(connection))); }
+    static Ref<DOMCacheStorage> create(ScriptExecutionContext& context, Ref<CacheStorageConnection>&& connection) { return adoptRef(*new DOMCacheStorage(context, WTFMove(connection))); }
 
     using KeysPromise = DOMPromiseDeferred<IDLSequence<IDLDOMString>>;
 
@@ -45,7 +45,7 @@ public:
     void keys(KeysPromise&&);
 
 private:
-    CacheStorage(ScriptExecutionContext&, Ref<CacheStorageConnection>&&);
+    DOMCacheStorage(ScriptExecutionContext&, Ref<CacheStorageConnection>&&);
 
     // ActiveDOMObject
     void stop() final;