haikuwebkit/Source/WebKit/Scripts
Simon Fraser f3b15675fa Use the strongly typed PageGroupIdentifier in place of uint64_t
https://bugs.webkit.org/show_bug.cgi?id=229356

Reviewed by Alex Christensen.

Replace uses of uint64_t for page group identifiers with PageGroupIdentifier.

There are two places where we convert between StorageNamespaceIdentifier and
PageGroupIdentifier because, as the comments state, those are equivalent.

* Scripts/webkit/messages.py:
(types_that_cannot_be_forward_declared):
(headers_for_type):
* Shared/IdentifierTypes.h:
* Shared/WebPageGroupData.cpp:
(WebKit::WebPageGroupData::decode):
* Shared/WebPageGroupData.h:
* UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::get):
(WebKit::pageGroupData):
(WebKit::generatePageGroupID): Deleted.
* UIProcess/WebPageGroup.h:
(WebKit::WebPageGroup::pageGroupID const):
* WebProcess/Databases/WebDatabaseProvider.cpp:
(WebKit::WebDatabaseProvider::getOrCreate):
(WebKit::WebDatabaseProvider::WebDatabaseProvider):
* WebProcess/Databases/WebDatabaseProvider.h:
* WebProcess/Storage/WebSWContextManagerConnection.cpp:
(WebKit::WebSWContextManagerConnection::WebSWContextManagerConnection):
* WebProcess/Storage/WebSWContextManagerConnection.h:
* WebProcess/WebPage/WebPageGroupProxy.h:
(WebKit::WebPageGroupProxy::pageGroupID const):
(WebKit::WebPageGroupProxy::localStorageNamespaceIdentifier const):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::webPageGroup):
(WebKit::WebProcess::establishWorkerContextConnectionToNetworkProcess):
* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in:
* WebProcess/WebStorage/StorageNamespaceImpl.cpp:
(WebKit::StorageNamespaceImpl::pageGroupID const):
* WebProcess/WebStorage/StorageNamespaceImpl.h:


Canonical link: https://commits.webkit.org/240806@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-22 15:35:52 +00:00
..
PreferencesTemplates Add batching to WebPreferences updates 2020-12-15 18:16:50 +00:00
webkit Use the strongly typed PageGroupIdentifier in place of uint64_t 2021-08-22 15:35:52 +00:00
check-xcfilelists.sh
combine-feature-flags-plist.py [GPUP] Add "CodeComplete" attribute to some feature flags 2021-03-30 16:32:01 +00:00
copy-webcontent-resources-to-private-headers.sh
generate-derived-sources.sh "make analyze" should run clang static analyzer in deep mode 2021-08-16 16:31:24 +00:00
generate-feature-flags-plist.sh iOS Simulator doesn't have any WebKit system feature flags 2021-07-28 20:07:23 +00:00
generate-forwarding-headers.pl
generate-message-receiver.py WebKit IPC builtin messages should be part of the model 2021-01-07 17:04:21 +00:00
generate-unified-sources.sh
postprocess-header-rule Promote WKWebView device orientation permission delegate to API 2021-04-16 08:47:23 +00:00
process-entitlements.sh [macOS] Add new entitlement to limit process to a single JIT region 2021-07-14 22:37:18 +00:00