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

Issue 70533005: More scaffolding, add class ServiceWorkerProviderHost. (Closed)

Created:
7 years, 1 month ago by michaeln
Modified:
7 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

More scaffolding, add class ServiceWorkerProviderHost. BUG=285976 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236872

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 14

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 1

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -45 lines) Patch
M content/browser/service_worker/service_worker_context_core.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +20 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_core.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +36 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.h View 1 2 3 4 5 6 7 4 chunks +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 2 3 4 5 6 7 5 chunks +35 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host_unittest.cc View 1 2 3 4 5 6 7 8 9 6 chunks +94 lines, -20 lines 0 comments Download
A content/browser/service_worker/service_worker_provider_host.h View 1 2 3 4 5 6 7 8 1 chunk +42 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_provider_host.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_provider_impl.h View 1 2 3 4 2 chunks +4 lines, -10 lines 0 comments Download
M content/child/service_worker/web_service_worker_provider_impl.cc View 1 2 1 chunk +21 lines, -8 lines 0 comments Download
M content/common/service_worker_messages.h View 1 chunk +9 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
michaeln
ptal, another stubbed out class added to the mix
7 years, 1 month ago (2013-11-15 23:13:38 UTC) #1
kinuko
lgtm % a few nits + one question (not directly related to this CL) https://codereview.chromium.org/70533005/diff/1/content/child/service_worker/web_service_worker_provider_impl.cc ...
7 years, 1 month ago (2013-11-18 05:57:24 UTC) #2
michaeln
https://codereview.chromium.org/70533005/diff/130001/content/browser/service_worker/service_worker_context_core.cc File content/browser/service_worker/service_worker_context_core.cc (right): https://codereview.chromium.org/70533005/diff/130001/content/browser/service_worker/service_worker_context_core.cc#newcode34 content/browser/service_worker/service_worker_context_core.cc:34: ProcessToProvidersMap::iterator it1 = providers_map_.find(process_id); On 2013/11/18 05:57:24, kinuko wrote: ...
7 years, 1 month ago (2013-11-18 20:18:17 UTC) #3
alecflett
Overall I don't fully understand why the dispatcher host needs to own the map - ...
7 years, 1 month ago (2013-11-18 23:40:21 UTC) #4
kinuko
https://codereview.chromium.org/70533005/diff/130001/content/browser/service_worker/service_worker_context_core.h File content/browser/service_worker/service_worker_context_core.h (right): https://codereview.chromium.org/70533005/diff/130001/content/browser/service_worker/service_worker_context_core.h#newcode42 content/browser/service_worker/service_worker_context_core.h:42: ServiceWorkerProviderHostMap* map); On 2013/11/18 20:18:17, michaeln wrote: > On ...
7 years, 1 month ago (2013-11-19 00:55:56 UTC) #5
michaeln
> OnChannelConnected / OnChannelClosing I'm relying on the ctor/dtor for that so there's no opportunity ...
7 years, 1 month ago (2013-11-19 01:14:26 UTC) #6
alecflett
On 2013/11/19 01:14:26, michaeln wrote: > > OnChannelConnected / OnChannelClosing > > I'm relying on ...
7 years, 1 month ago (2013-11-19 02:00:51 UTC) #7
michaeln
> but the API provides no obvious equivalent setter Yes, thats intentional. I expect there ...
7 years, 1 month ago (2013-11-19 23:10:27 UTC) #8
michaeln
I've swapped things around such that the context now "owns" the provider hosts.
7 years, 1 month ago (2013-11-20 23:23:24 UTC) #9
alecflett
lgtm
7 years, 1 month ago (2013-11-21 00:54:23 UTC) #10
kinuko
The new code still lgtm2
7 years, 1 month ago (2013-11-21 02:29:31 UTC) #11
michaeln
@brettw, git-cl suggested you do an owner review please see patch set 10 for diffs, ...
7 years, 1 month ago (2013-11-21 22:37:07 UTC) #12
brettw
Shared stuff lgtm
7 years, 1 month ago (2013-11-21 22:40:46 UTC) #13
michaeln
thnx brett @jln, git-cl also suggested that you do an owner review for the messages.h ...
7 years, 1 month ago (2013-11-21 22:45:48 UTC) #14
jln (very slow on Chromium)
On 2013/11/21 22:45:48, michaeln wrote: > thnx brett > > @jln, git-cl also suggested that ...
7 years, 1 month ago (2013-11-21 23:09:29 UTC) #15
kinuko
Ready to submit? I'm clicking CQ
7 years, 1 month ago (2013-11-22 02:03:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/70533005/840001
7 years, 1 month ago (2013-11-22 02:04:34 UTC) #17
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=29161
7 years, 1 month ago (2013-11-22 03:27:34 UTC) #18
kinuko
https://codereview.chromium.org/70533005/diff/840001/content/browser/service_worker/service_worker_context_core.h File content/browser/service_worker/service_worker_context_core.h (right): https://codereview.chromium.org/70533005/diff/840001/content/browser/service_worker/service_worker_context_core.h#newcode10 content/browser/service_worker/service_worker_context_core.h:10: #include "base/memory/weak_ptr.h" looks like you need to include base/memory/scoped_ptr.h ...
7 years, 1 month ago (2013-11-22 04:13:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/70533005/1240001
7 years, 1 month ago (2013-11-22 21:12:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/70533005/1330001
7 years, 1 month ago (2013-11-22 21:15:13 UTC) #21
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 23:37:10 UTC) #22
Message was sent while issue was closed.
Change committed as 236872

Powered by Google App Engine
This is Rietveld 408576698