Bug 122849 - Add a skeleton Database process for future usage by IDB and Web SQL
Summary: Add a skeleton Database process for future usage by IDB and Web SQL
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 11:59 PDT by Brady Eidson
Modified: 2013-10-15 14:10 PDT (History)
4 users (show)

See Also:


Attachments
Patch v1 (79.88 KB, patch)
2013-10-15 12:02 PDT, Brady Eidson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2013-10-15 11:59:12 PDT
Add a skeleton Database process for future usage by IDB and Web SQL
Comment 1 Brady Eidson 2013-10-15 12:02:58 PDT
Created attachment 214290 [details]
Patch v1
Comment 2 Brady Eidson 2013-10-15 12:03:38 PDT
Enabled for Mac only, right now, and the #ifdef guards should keep other builds as-is.
Comment 3 WebKit Commit Bot 2013-10-15 12:04:42 PDT
Attachment 214290 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/Configurations/DatabaseProcess.xcconfig', u'Source/WebKit2/Configurations/DatabaseService.Development.xcconfig', u'Source/WebKit2/Configurations/DatabaseService.xcconfig', u'Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp', u'Source/WebKit2/DatabaseProcess/DatabaseProcess.h', u'Source/WebKit2/DatabaseProcess/EntryPoint/mac/LegacyProcess/DatabaseProcessMain.mm', u'Source/WebKit2/DatabaseProcess/EntryPoint/mac/LegacyProcess/Info.plist', u'Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService.Development/Info.plist', u'Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist', u'Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseServiceEntryPoint.mm', u'Source/WebKit2/DatabaseProcess/mac/DatabaseProcessMac.mm', u'Source/WebKit2/UIProcess/Databases/DatabaseProcessProxy.cpp', u'Source/WebKit2/UIProcess/Databases/DatabaseProcessProxy.h', u'Source/WebKit2/UIProcess/Databases/mac/DatabaseProcessProxyMac.mm', u'Source/WebKit2/UIProcess/Launcher/ProcessLauncher.cpp', u'Source/WebKit2/UIProcess/Launcher/ProcessLauncher.h', u'Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm', u'Source/WebKit2/WebKit2.xcodeproj/project.pbxproj', u'Source/WebKit2/WebKit2Prefix.h']" exit_code: 1
Source/WebKit2/UIProcess/Databases/DatabaseProcessProxy.cpp:75:  Should have a space between // and comment  [whitespace/comments] [4]
Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp:64:  Should have a space between // and comment  [whitespace/comments] [4]
Total errors found: 2 in 20 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Brady Eidson 2013-10-15 12:17:35 PDT
(In reply to comment #3)
> Attachment 214290 [details] did not pass style-queue:
> 
> Source/WebKit2/UIProcess/Databases/DatabaseProcessProxy.cpp:75:  Should have a space between // and comment  [whitespace/comments] [4]
> Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp:64:  Should have a space between // and comment  [whitespace/comments] [4]

Fixed locally.
Comment 5 Sam Weinig 2013-10-15 13:54:24 PDT
Comment on attachment 214290 [details]
Patch v1 

View in context: https://bugs.webkit.org/attachment.cgi?id=214290&action=review

> Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService.Development/Info.plist:30
> +	<key>NSPrincipalClass</key>
> +	<string>NSApplication</string>

I am not sure you want this.

> Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService.Development/Info.plist:36
> +		<key>JoinExistingSession</key>
> +		<true/>

I am not sure you need this.

> Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist:28
> +	<key>NSPrincipalClass</key>
> +	<string>NSApplication</string>

Do you need this?

> Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist:36
> +		<key>JoinExistingSession</key>
> +		<true/>

Do you need this?
Comment 6 Brady Eidson 2013-10-15 14:10:25 PDT
http://trac.webkit.org/changeset/157469