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

Issue 183993004: Tease apart ServiceWorkerNetworkProvider from other stuff. (Closed)

Created:
6 years, 9 months ago by michaeln
Modified:
6 years, 9 months ago
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, jam, nhiroki, joi+watch-content_chromium.org, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+watch, alecflett+watch_chromium.org, serviceworker-reviews
Visibility:
Public.

Description

Tease apart ServiceWorkerNetworkProvider from other stuff. BUG=285976 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255324

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Total comments: 3

Patch Set 7 : #

Patch Set 8 : #

Total comments: 12

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -6 lines) Patch
M content/child/npapi/plugin_url_fetcher.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M content/child/request_extra_data.h View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download
M content/child/request_extra_data.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
A content/child/service_worker/service_worker_network_provider.h View 1 2 3 4 5 6 7 8 1 chunk +48 lines, -0 lines 0 comments Download
A content/child/service_worker/service_worker_network_provider.cc View 1 2 3 4 5 6 7 8 1 chunk +52 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +30 lines, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +44 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (0 generated)
michaeln
ptal adam, i'd like your thoughts on the webkit api change suggested in there nothing ...
6 years, 9 months ago (2014-02-28 01:59:58 UTC) #1
michaeln
https://codereview.chromium.org/183993004/diff/20001/content/child/service_worker/service_worker_network_provider.cc File content/child/service_worker/service_worker_network_provider.cc (right): https://codereview.chromium.org/183993004/diff/20001/content/child/service_worker/service_worker_network_provider.cc#newcode27 content/child/service_worker/service_worker_network_provider.cc:27: scoped_ptr<ServiceWorkerNetworkProvider> network_provider) { could use some DCHECKS about datasource_userdata ...
6 years, 9 months ago (2014-02-28 02:04:02 UTC) #2
kinuko
https://codereview.chromium.org/183993004/diff/20001/content/child/service_worker/service_worker_network_provider.cc File content/child/service_worker/service_worker_network_provider.cc (right): https://codereview.chromium.org/183993004/diff/20001/content/child/service_worker/service_worker_network_provider.cc#newcode41 content/child/service_worker/service_worker_network_provider.cc:41: thread_safe_sender_->Send( nit: ChildThread::current()->Send is probably enough. https://codereview.chromium.org/183993004/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc ...
6 years, 9 months ago (2014-02-28 04:30:59 UTC) #3
michaeln
https://codereview.chromium.org/183993004/diff/20001/content/child/service_worker/service_worker_network_provider.cc File content/child/service_worker/service_worker_network_provider.cc (right): https://codereview.chromium.org/183993004/diff/20001/content/child/service_worker/service_worker_network_provider.cc#newcode41 content/child/service_worker/service_worker_network_provider.cc:41: thread_safe_sender_->Send( On 2014/02/28 04:31:00, kinuko wrote: > nit: ChildThread::current()->Send ...
6 years, 9 months ago (2014-02-28 20:48:26 UTC) #4
kinuko
https://codereview.chromium.org/183993004/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/183993004/diff/20001/content/renderer/render_frame_impl.cc#newcode1456 content/renderer/render_frame_impl.cc:1456: } On 2014/02/28 20:48:27, michaeln wrote: > On 2014/02/28 ...
6 years, 9 months ago (2014-03-03 03:26:33 UTC) #5
michaeln
I'll take a closer look at the resource fetcher tests. I'm sure we can make ...
6 years, 9 months ago (2014-03-03 23:34:55 UTC) #6
michaeln
https://codereview.chromium.org/183993004/diff/70001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/183993004/diff/70001/content/renderer/render_frame_impl.cc#newcode1752 content/renderer/render_frame_impl.cc:1752: if (frame->provisionalDataSource()) { // May be null is some ...
6 years, 9 months ago (2014-03-04 00:13:55 UTC) #7
michaeln
There is an actual use case where ResourceFetcher is used with a target type of ...
6 years, 9 months ago (2014-03-04 04:23:21 UTC) #8
michaeln
https://codereview.chromium.org/183993004/diff/90001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/183993004/diff/90001/content/renderer/render_frame_impl.cc#newcode1749 content/renderer/render_frame_impl.cc:1749: // this ambiguity about which datasource can be removed. ...
6 years, 9 months ago (2014-03-04 04:27:48 UTC) #9
kinuko
lgtm if you update comments & try bots are happy https://codereview.chromium.org/183993004/diff/90001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/183993004/diff/90001/content/renderer/render_frame_impl.cc#newcode1753 ...
6 years, 9 months ago (2014-03-04 12:53:07 UTC) #10
michaeln
bah... merge conflict again? i wonder if the patch that i merged with between snapshot ...
6 years, 9 months ago (2014-03-04 19:28:39 UTC) #11
michaeln
> When you remove the comment can you add a brief comment when it can ...
6 years, 9 months ago (2014-03-04 21:05:05 UTC) #12
michaeln
@creis, ptal as owner
6 years, 9 months ago (2014-03-04 21:16:51 UTC) #13
michaeln
modulo sick win builders, bots look pretty happy now :)
6 years, 9 months ago (2014-03-04 22:57:48 UTC) #14
Charlie Reis
Are there tests that cover this ID somewhere? Otherwise looks ready with nits below. https://chromiumcodereview.appspot.com/183993004/diff/130001/content/child/service_worker/service_worker_network_provider.cc ...
6 years, 9 months ago (2014-03-04 23:02:16 UTC) #15
michaeln
I'll make the changes in the next upload. > Are there tests that cover this ...
6 years, 9 months ago (2014-03-04 23:53:45 UTC) #16
Charlie Reis
On 2014/03/04 23:53:45, michaeln wrote: > I'll make the changes in the next upload. > ...
6 years, 9 months ago (2014-03-05 00:24:51 UTC) #17
michaeln
> We haven't migrated any tests over to render_frame_unittest.cc yet, but I was > thinking ...
6 years, 9 months ago (2014-03-05 00:49:53 UTC) #18
michaeln
thnx for pointing out how unittest like those browser_tests are
6 years, 9 months ago (2014-03-05 03:01:39 UTC) #19
Charlie Reis
Great! Thanks for the test. LGTM. https://codereview.chromium.org/183993004/diff/170001/content/renderer/render_view_browsertest.cc File content/renderer/render_view_browsertest.cc (right): https://codereview.chromium.org/183993004/diff/170001/content/renderer/render_view_browsertest.cc#newcode2257 content/renderer/render_view_browsertest.cc:2257: RequestExtraData* extra_data = ...
6 years, 9 months ago (2014-03-05 18:32:56 UTC) #20
michaeln
ty! > nit: Remove extra space after *. done > nit: our -> the provider's ...
6 years, 9 months ago (2014-03-05 21:19:25 UTC) #21
Charlie Reis
On 2014/03/05 21:19:25, michaeln wrote: > > (I got confused about whether "our id" stuck ...
6 years, 9 months ago (2014-03-05 21:21:00 UTC) #22
michaeln
The CQ bit was checked by michaeln@chromium.org
6 years, 9 months ago (2014-03-05 22:51:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/183993004/200001
6 years, 9 months ago (2014-03-05 22:52:39 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 23:10:05 UTC) #25
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=156072
6 years, 9 months ago (2014-03-05 23:10:07 UTC) #26
michaeln
The CQ bit was checked by michaeln@chromium.org
6 years, 9 months ago (2014-03-05 23:22:24 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/183993004/200001
6 years, 9 months ago (2014-03-05 23:30:59 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/183993004/200001
6 years, 9 months ago (2014-03-06 00:12:11 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 00:30:51 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-06 00:30:52 UTC) #31
alecflett
The CQ bit was checked by alecflett@chromium.org
6 years, 9 months ago (2014-03-06 00:43:25 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/183993004/200001
6 years, 9 months ago (2014-03-06 00:45:29 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 02:27:12 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel Retried try job too often on win_rel for ...
6 years, 9 months ago (2014-03-06 02:27:13 UTC) #35
kinuko
The CQ bit was checked by kinuko@chromium.org
6 years, 9 months ago (2014-03-06 03:44:01 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/183993004/200001
6 years, 9 months ago (2014-03-06 03:44:55 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 04:59:09 UTC) #38
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=276111
6 years, 9 months ago (2014-03-06 04:59:10 UTC) #39
kinuko
The CQ bit was checked by kinuko@chromium.org
6 years, 9 months ago (2014-03-06 07:41:35 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/183993004/200001
6 years, 9 months ago (2014-03-06 07:41:59 UTC) #41
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 13:10:23 UTC) #42
Message was sent while issue was closed.
Change committed as 255324

Powered by Google App Engine
This is Rietveld 408576698