Rename CacheStorage to DOMCacheStorage
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2017 19:04:00 +0000 (19:04 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2017 19:04:00 +0000 (19:04 +0000)
commit76e311e736f2bd381730f03edfebdb08a49a3e15
tree73dfa6333feb16bddcd4d16042cab208d8ca646b
parent8e199cee4ff789f921c5aef9ec19420ae5f1412f
Rename CacheStorage to DOMCacheStorage
https://bugs.webkit.org/show_bug.cgi?id=177025

Patch by Youenn Fablet <youenn@apple.com> on 2017-09-20
Reviewed by Chris Dumez.

No change of behavior, just renaming CacheStorage class and files to DOMCacheStorage.

* CMakeLists.txt:
* DerivedSources.make:
* Modules/cache/DOMCacheStorage.cpp: Renamed from Source/WebCore/Modules/cache/CacheStorage.cpp.
(WebCore::DOMCacheStorage::DOMCacheStorage):
(WebCore::DOMCacheStorage::origin const):
(WebCore::doSequentialMatch):
(WebCore::startSequentialMatch):
(WebCore::copyCaches):
(WebCore::DOMCacheStorage::match):
(WebCore::DOMCacheStorage::has):
(WebCore::DOMCacheStorage::retrieveCaches):
(WebCore::logConsolePersistencyError):
(WebCore::DOMCacheStorage::open):
(WebCore::DOMCacheStorage::remove):
(WebCore::DOMCacheStorage::keys):
(WebCore::DOMCacheStorage::stop):
(WebCore::DOMCacheStorage::activeDOMObjectName const):
(WebCore::DOMCacheStorage::canSuspendForDocumentSuspension const):
* Modules/cache/DOMCacheStorage.h: Renamed from Source/WebCore/Modules/cache/CacheStorage.h.
(WebCore::DOMCacheStorage::create):
* Modules/cache/DOMCacheStorage.idl: Renamed from Source/WebCore/Modules/cache/CacheStorage.idl.
* Modules/cache/DOMWindowCaches.cpp:
(WebCore::DOMWindowCaches::caches):
(WebCore::DOMWindowCaches::caches const):
* Modules/cache/DOMWindowCaches.h:
* Modules/cache/DOMWindowCaches.idl:
* Modules/cache/WorkerGlobalScopeCaches.cpp:
(WebCore::WorkerGlobalScopeCaches::caches):
(WebCore::WorkerGlobalScopeCaches::caches const):
* Modules/cache/WorkerGlobalScopeCaches.h:
* Modules/cache/WorkerGlobalScopeCaches.idl:
* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/Modules/cache/DOMCacheStorage.cpp [moved from Source/WebCore/Modules/cache/CacheStorage.cpp with 92% similarity]
Source/WebCore/Modules/cache/DOMCacheStorage.h [moved from Source/WebCore/Modules/cache/CacheStorage.h with 87% similarity]
Source/WebCore/Modules/cache/DOMCacheStorage.idl [moved from Source/WebCore/Modules/cache/CacheStorage.idl with 96% similarity]
Source/WebCore/Modules/cache/DOMWindowCaches.cpp
Source/WebCore/Modules/cache/DOMWindowCaches.h
Source/WebCore/Modules/cache/DOMWindowCaches.idl
Source/WebCore/Modules/cache/WorkerGlobalScopeCaches.cpp
Source/WebCore/Modules/cache/WorkerGlobalScopeCaches.h
Source/WebCore/Modules/cache/WorkerGlobalScopeCaches.idl
Source/WebCore/WebCore.xcodeproj/project.pbxproj