Add skeleton of the OfflineStorageProcess
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 00:58:00 +0000 (00:58 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 00:58:00 +0000 (00:58 +0000)
commit0ba6220344743fdf2e728d9dcd07808e762b9161
treec5b921dd05b12c6777a4007520d7dee05bd21a8b
parent829960de16ff20482f1dc879104d8403db242417
Add skeleton of the OfflineStorageProcess
https://bugs.webkit.org/show_bug.cgi?id=109615

Reviewed by Anders Carlsson.

This adds the skeleton of a new process to contain Database and Local Storage
backends in (hence, offline storage). We're adding a new process, rather than
using the Network or UIProcesses, to allow us to tightly sandbox these activities
away from networking and full filesystem access.

* Configurations/OfflineStorageProcess.xcconfig: Added.
* Configurations/OfflineStorageService.Development.xcconfig: Added.
* Configurations/OfflineStorageService.xcconfig: Added.
* DerivedSources.make:
* OfflineStorageProcess: Added.
* OfflineStorageProcess/EntryPoint: Added.
* OfflineStorageProcess/EntryPoint/mac: Added.
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess: Added.
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist: Added.
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm: Added.
* OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/Info.plist: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/Info.plist: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Added.
* OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageServiceEntryPoint.mm: Added.
* OfflineStorageProcess/OfflineStorageProcess.cpp: Added.
* OfflineStorageProcess/OfflineStorageProcess.h: Added.
* OfflineStorageProcess/OfflineStorageProcess.messages.in: Added.
* OfflineStorageProcess/mac: Added.
* OfflineStorageProcess/mac/OfflineStorageProcessMac.mm: Added.
(WebKit::OfflineStorageProcess::initializeProcessName):
(WebKit::OfflineStorageProcess::initializeSandbox):
* OfflineStorageProcess/mac/com.apple.WebKit.OfflineStorage.sb: Added.
* Shared/OfflineStorage: Added.
* Shared/OfflineStorage/OfflineStorageProcessCreationParameters.cpp: Added.
* Shared/OfflineStorage/OfflineStorageProcessCreationParameters.h: Added.

* Scripts/webkit2/messages.py:
(struct_or_class):
Added OfflineStorageProcessCreationParameters.

* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
22 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/OfflineStorageProcess.xcconfig [new file with mode: 0644]
Source/WebKit2/Configurations/OfflineStorageService.Development.xcconfig [new file with mode: 0644]
Source/WebKit2/Configurations/OfflineStorageService.xcconfig [new file with mode: 0644]
Source/WebKit2/DerivedSources.make
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/Info.plist [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/Info.plist [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageServiceEntryPoint.mm [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/OfflineStorageProcess.cpp [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/OfflineStorageProcess.h [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/OfflineStorageProcess.messages.in [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/mac/OfflineStorageProcessMac.mm [new file with mode: 0644]
Source/WebKit2/OfflineStorageProcess/mac/com.apple.WebKit.OfflineStorage.sb [new file with mode: 0644]
Source/WebKit2/Scripts/webkit2/messages.py
Source/WebKit2/Shared/OfflineStorage/OfflineStorageProcessCreationParameters.cpp [new file with mode: 0644]
Source/WebKit2/Shared/OfflineStorage/OfflineStorageProcessCreationParameters.h [new file with mode: 0644]
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj