Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 424863002: Fill in some of ServiceWorkerFetchStores. (Closed)

Created:
6 years, 4 months ago by jkarlin
Modified:
6 years, 4 months ago
Reviewers:
michaeln, falken, gavinp, sky
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cache_storage
Project:
chromium
Visibility:
Public.

Description

Fills in ServiceWorkerFetchStores. Adds a stub ServiceWorkerFetchStore class which will need to be filled in. Also adds some tests. A CL to refactor ServiceWorkerFetchStores -> ServiceWorkerCacheStorage is upcoming. BUG=392621 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288379

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Test copy creation #

Patch Set 4 : Rebase #

Patch Set 5 : New tests, better abstraction #

Patch Set 6 : More tests, general cleanup #

Patch Set 7 : Extra comment #

Patch Set 8 : Rebase #

Patch Set 9 : Conform to updated spec #

Total comments: 14

Patch Set 10 : Addresses michaeln's comments from PS9 #

Patch Set 11 : Rebase #

Patch Set 12 : Asynchronous cache init #

Total comments: 14

Patch Set 13 : Rebase #

Patch Set 14 : Swapped pickle for protobuf #

Patch Set 15 : Addresses rest of comments from PS 12 #

Patch Set 16 : Compiler fix #

Patch Set 17 : ToLowerASCII juuuuuust moved to base #

Patch Set 18 : gn fix #

Patch Set 19 : Updated license #

Unified diffs Side-by-side diffs Delta from patch set Stats (+856 lines, -98 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
A + content/browser/service_worker/service_worker_cache.proto View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -10 lines 0 comments Download
A content/browser/service_worker/service_worker_fetch_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +52 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_fetch_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +39 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_stores.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +51 lines, -11 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_stores.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +295 lines, -32 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_stores_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +17 lines, -12 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_stores_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +27 lines, -26 lines 0 comments Download
A content/browser/service_worker/service_worker_fetch_stores_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +357 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_proto.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
jkarlin
michaeln: Please review everything. Thanks!
6 years, 4 months ago (2014-08-01 18:42:45 UTC) #1
jkarlin
On 2014/08/01 18:42:45, jkarlin wrote: > michaeln: Please review everything. Thanks! gavinp: FYI
6 years, 4 months ago (2014-08-01 18:52:18 UTC) #2
jkarlin
On 2014/08/01 18:52:18, jkarlin wrote: > On 2014/08/01 18:42:45, jkarlin wrote: > > michaeln: Please ...
6 years, 4 months ago (2014-08-05 12:00:38 UTC) #3
michaeln
The .cc code looks pretty reasonable but i'm lacking the bigger picture. My biggest concern ...
6 years, 4 months ago (2014-08-05 23:34:31 UTC) #4
jkarlin
https://codereview.chromium.org/424863002/diff/150001/content/browser/service_worker/service_worker_fetch_stores.cc File content/browser/service_worker/service_worker_fetch_stores.cc (right): https://codereview.chromium.org/424863002/diff/150001/content/browser/service_worker/service_worker_fetch_stores.cc#newcode75 content/browser/service_worker/service_worker_fetch_stores.cc:75: ServiceWorkerFetchStore::CreatePersistentStore(path, name)); On 2014/08/05 23:34:30, michaeln wrote: > This ...
6 years, 4 months ago (2014-08-06 18:56:00 UTC) #5
jkarlin
PTAL. Thanks! https://codereview.chromium.org/424863002/diff/210001/content/browser/service_worker/service_worker_fetch_store.h File content/browser/service_worker/service_worker_fetch_store.h (right): https://codereview.chromium.org/424863002/diff/210001/content/browser/service_worker/service_worker_fetch_store.h#newcode31 content/browser/service_worker/service_worker_fetch_store.h:31: // called before the other public member ...
6 years, 4 months ago (2014-08-06 20:58:32 UTC) #6
michaeln
I think this lgtm as an interim or stepping stone. > Yes, the plan was ...
6 years, 4 months ago (2014-08-07 00:10:14 UTC) #7
jkarlin
sky@chromium.org: Please review changes in content/browser/BUILD.gn
6 years, 4 months ago (2014-08-07 14:49:27 UTC) #8
jkarlin
https://codereview.chromium.org/424863002/diff/210001/content/browser/service_worker/service_worker_fetch_store.h File content/browser/service_worker/service_worker_fetch_store.h (right): https://codereview.chromium.org/424863002/diff/210001/content/browser/service_worker/service_worker_fetch_store.h#newcode31 content/browser/service_worker/service_worker_fetch_store.h:31: // called before the other public member functions. On ...
6 years, 4 months ago (2014-08-07 16:02:35 UTC) #9
sky
LGTM
6 years, 4 months ago (2014-08-07 16:23:52 UTC) #10
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 4 months ago (2014-08-08 14:30:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/424863002/370001
6 years, 4 months ago (2014-08-08 14:31:07 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 14:38:06 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 14:42:16 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/2907)
6 years, 4 months ago (2014-08-08 14:42:18 UTC) #15
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 4 months ago (2014-08-08 16:35:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/424863002/390001
6 years, 4 months ago (2014-08-08 16:35:44 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 16:50:48 UTC) #18
Message was sent while issue was closed.
Change committed as 288379

Powered by Google App Engine
This is Rietveld 408576698