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

Issue 2309793002: Use modified URLRequest::Read() and delegate methods in /service_worker/ (Closed)

Created:
4 years, 3 months ago by maksims (do not use this acc)
Modified:
4 years, 2 months ago
Reviewers:
falken, michaeln, mmenke
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use modified URLRequest::Read() and delegate methods in /service_worker/ Use modified Read and delegate methods from the following CL - https://codereview.chromium.org/2262653003/ BUG=423484 Committed: https://crrev.com/c9b85a7b27cf9a07ce120b8e5303ab7672c83fb1 Cr-Commit-Position: refs/heads/master@{#421176}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Comments #

Patch Set 3 : typo #

Total comments: 5

Patch Set 4 : use net::Error #

Patch Set 5 : typo #

Total comments: 6

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -89 lines) Patch
M content/browser/service_worker/service_worker_job_unittest.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_script_cache_map.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_script_cache_map.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_write_to_cache_job.h View 1 2 3 4 5 3 chunks +6 lines, -8 lines 0 comments Download
M content/browser/service_worker/service_worker_write_to_cache_job.cc View 1 2 3 4 5 13 chunks +47 lines, -72 lines 0 comments Download

Messages

Total messages: 73 (51 generated)
maksims (do not use this acc)
please review
4 years, 3 months ago (2016-09-06 09:24:02 UTC) #16
falken
This looks pretty good, some comments. https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.cc File content/browser/service_worker/service_worker_write_to_cache_job.cc (right): https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.cc#newcode214 content/browser/service_worker/service_worker_write_to_cache_job.cc:214: *bytes_read = net_request_->Read(buf, ...
4 years, 3 months ago (2016-09-07 02:21:50 UTC) #19
michaeln
since falkens taking a look, i'll bow out of this review
4 years, 3 months ago (2016-09-07 20:53:17 UTC) #20
mmenke
https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode133 content/browser/service_worker/service_worker_write_to_cache_job.h:133: net::Error NotifyFinishedCaching(int net_error, On 2016/09/07 02:21:50, falken wrote: > ...
4 years, 3 months ago (2016-09-12 16:50:39 UTC) #22
mmenke
On 2016/09/12 16:50:39, mmenke wrote: > https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h > File content/browser/service_worker/service_worker_write_to_cache_job.h (right): > > https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode133 > ...
4 years, 3 months ago (2016-09-12 16:51:07 UTC) #23
falken
https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode133 content/browser/service_worker/service_worker_write_to_cache_job.h:133: net::Error NotifyFinishedCaching(int net_error, On 2016/09/12 16:50:39, mmenke wrote: > ...
4 years, 3 months ago (2016-09-13 06:31:35 UTC) #24
maksims (do not use this acc)
On 2016/09/13 06:31:35, falken wrote: > https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h > File content/browser/service_worker/service_worker_write_to_cache_job.h (right): > > https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode133 > ...
4 years, 3 months ago (2016-09-13 06:51:27 UTC) #25
maksims (do not use this acc)
On 2016/09/13 06:51:27, maksims wrote: > On 2016/09/13 06:31:35, falken wrote: > > > https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h ...
4 years, 3 months ago (2016-09-13 06:52:01 UTC) #26
mmenke
https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode133 content/browser/service_worker/service_worker_write_to_cache_job.h:133: net::Error NotifyFinishedCaching(int net_error, On 2016/09/13 06:31:35, falken wrote: > ...
4 years, 3 months ago (2016-09-13 16:49:44 UTC) #27
maksims (do not use this acc)
https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.cc File content/browser/service_worker/service_worker_write_to_cache_job.cc (right): https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.cc#newcode214 content/browser/service_worker/service_worker_write_to_cache_job.cc:214: *bytes_read = net_request_->Read(buf, buf_size); On 2016/09/07 02:21:50, falken wrote: ...
4 years, 3 months ago (2016-09-21 04:51:44 UTC) #28
falken
https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/60001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode133 content/browser/service_worker/service_worker_write_to_cache_job.h:133: net::Error NotifyFinishedCaching(int net_error, On 2016/09/21 04:51:44, maksims wrote: > ...
4 years, 3 months ago (2016-09-21 07:31:39 UTC) #37
maksims (do not use this acc)
https://codereview.chromium.org/2309793002/diff/100001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/100001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode129 content/browser/service_worker/service_worker_write_to_cache_job.h:129: void NotifyStartErrorHelper(int net_error, const std::string& status_message); On 2016/09/21 07:31:39, ...
4 years, 3 months ago (2016-09-21 07:52:54 UTC) #38
falken
https://codereview.chromium.org/2309793002/diff/100001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/100001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode129 content/browser/service_worker/service_worker_write_to_cache_job.h:129: void NotifyStartErrorHelper(int net_error, const std::string& status_message); On 2016/09/21 07:52:54, ...
4 years, 3 months ago (2016-09-21 07:57:23 UTC) #39
maksims (do not use this acc)
On 2016/09/21 07:57:23, falken wrote: > https://codereview.chromium.org/2309793002/diff/100001/content/browser/service_worker/service_worker_write_to_cache_job.h > File content/browser/service_worker/service_worker_write_to_cache_job.h (right): > > https://codereview.chromium.org/2309793002/diff/100001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode129 > ...
4 years, 3 months ago (2016-09-21 19:11:45 UTC) #53
falken
Sorry we had a holiday yesterday. lgtm with nits. Thanks, this is a nice patch. ...
4 years, 3 months ago (2016-09-23 00:37:36 UTC) #54
falken
https://codereview.chromium.org/2309793002/diff/160001/content/browser/service_worker/service_worker_write_to_cache_job.h File content/browser/service_worker/service_worker_write_to_cache_job.h (right): https://codereview.chromium.org/2309793002/diff/160001/content/browser/service_worker/service_worker_write_to_cache_job.h#newcode132 content/browser/service_worker/service_worker_write_to_cache_job.h:132: // Returns an error code that is passed in ...
4 years, 3 months ago (2016-09-23 00:39:52 UTC) #55
maksims (do not use this acc)
https://codereview.chromium.org/2309793002/diff/160001/content/browser/service_worker/service_worker_script_cache_map.h File content/browser/service_worker/service_worker_script_cache_map.h (right): https://codereview.chromium.org/2309793002/diff/160001/content/browser/service_worker/service_worker_script_cache_map.h#newcode40 content/browser/service_worker/service_worker_script_cache_map.h:40: int net_error, On 2016/09/23 00:37:35, falken wrote: > nit: ...
4 years, 2 months ago (2016-09-26 05:41:21 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2309793002/180001
4 years, 2 months ago (2016-09-26 05:41:39 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/274435)
4 years, 2 months ago (2016-09-26 05:51:10 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2309793002/200001
4 years, 2 months ago (2016-09-27 10:29:07 UTC) #69
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 2 months ago (2016-09-27 11:56:08 UTC) #71
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 11:59:46 UTC) #73
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c9b85a7b27cf9a07ce120b8e5303ab7672c83fb1
Cr-Commit-Position: refs/heads/master@{#421176}

Powered by Google App Engine
This is Rietveld 408576698