RESOLVED FIXED 175885
[CacheAPI] Introduce a WebKit::CacheStorage namespace
https://bugs.webkit.org/show_bug.cgi?id=175885
Summary [CacheAPI] Introduce a WebKit::CacheStorage namespace
youenn fablet
Reported 2017-08-23 09:18:06 PDT
This will allow splitting CacheStorageEngine implementation in smaller more manageable files
Attachments
Patch (38.75 KB, patch)
2017-08-23 09:36 PDT, youenn fablet
no flags
Patch for landing (38.76 KB, patch)
2017-08-23 10:31 PDT, youenn fablet
no flags
Patch for landing (38.43 KB, patch)
2017-08-23 12:04 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2017-08-23 09:36:42 PDT
Alex Christensen
Comment 2 2017-08-23 10:26:03 PDT
Comment on attachment 318877 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318877&action=review > Source/WebKit/NetworkProcess/cache/CacheStorageEngineCache.h:37 > + uint64_t identifier; This could have a default initializer, too.
youenn fablet
Comment 3 2017-08-23 10:31:15 PDT
Created attachment 318883 [details] Patch for landing
youenn fablet
Comment 4 2017-08-23 10:31:29 PDT
Thanks for the review. (In reply to Alex Christensen from comment #2) > Comment on attachment 318877 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318877&action=review > > > Source/WebKit/NetworkProcess/cache/CacheStorageEngineCache.h:37 > > + uint64_t identifier; > > This could have a default initializer, too. Done
Geoffrey Garen
Comment 5 2017-08-23 10:39:43 PDT
Comment on attachment 318877 [details] Patch Can we make this a sub-namespace of WebCore so we don't have to Webcore::?
youenn fablet
Comment 6 2017-08-23 10:51:52 PDT
(In reply to Geoffrey Garen from comment #5) > Comment on attachment 318877 [details] > Patch > > Can we make this a sub-namespace of WebCore so we don't have to Webcore::? I plan to unify WebCore CacheStorageConnection and WebKit CacheStorageEngine declarations. That will probably mean doing what you suggest. WebCore has a CacheStorage class so we might want to pick a different name for this namespace. Not sure what is best here, maybe CacheAPI?
Geoffrey Garen
Comment 7 2017-08-23 10:57:12 PDT
> WebCore has a CacheStorage class so we might want to pick a different name > for this namespace. > Not sure what is best here, maybe CacheAPI? Maybe DOMCache? We often prefix generic DOM API names with "DOM". Search for files beginning with "DOM" and you'll see lots of examples. DOMMatrix, DOMURL, DOMWindow, etc.
WebKit Commit Bot
Comment 8 2017-08-23 10:58:04 PDT
Comment on attachment 318883 [details] Patch for landing Rejecting attachment 318883 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 318883, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 221084 = 1903c78e15a8e72758925da3b9f7b04e15f94b25 r221085 = ec9d3e1d36d094891e4287fa2d96a4ddf080ea68 r221086 = a480fc02bee91b1bdb9c7aa0abdc6e3089431179 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.webkit.org/results/4369417
youenn fablet
Comment 9 2017-08-23 11:02:41 PDT
DOMCache seems good to me.
WebKit Commit Bot
Comment 10 2017-08-23 11:03:17 PDT
Comment on attachment 318883 [details] Patch for landing Rejecting attachment 318883 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 318883, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: patching file Source/WebKit/NetworkProcess/cache/CacheStorageEngineConnection.cpp patching file Source/WebKit/WebKit.xcodeproj/project.pbxproj patching file Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.cpp patching file Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.h patching file Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.messages.in Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/4369451
youenn fablet
Comment 11 2017-08-23 12:04:25 PDT
Created attachment 318894 [details] Patch for landing
WebKit Commit Bot
Comment 12 2017-08-23 12:45:52 PDT
Comment on attachment 318894 [details] Patch for landing Clearing flags on attachment: 318894 Committed r221093: <http://trac.webkit.org/changeset/221093>
WebKit Commit Bot
Comment 13 2017-08-23 12:45:54 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 14 2017-08-23 12:46:55 PDT
Note You need to log in before you can comment on or make changes to this bug.