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

Issue 2581393002: Update MojoAsyncResourceHandler tests to use MockResourceLoader. (Closed)

Created:
4 years ago by mmenke
Modified:
3 years, 11 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, Randy Smith (Not in Mondays), yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, loading-reviews_chromium.org, darin (slow to review), mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update MojoAsyncResourceHandler tests to use MockResourceLoader. TBR=clamy@chromium.org BUG=659317 Review-Url: https://codereview.chromium.org/2581393002 Cr-Commit-Position: refs/heads/master@{#443263} Committed: https://chromium.googlesource.com/chromium/src/+/5159f105dbf404212d7d8e1b24539be049f67c5d

Patch Set 1 #

Total comments: 10

Patch Set 2 : Merge #

Patch Set 3 : Response to comments #

Patch Set 4 : Merge, fix type mismatch #

Patch Set 5 : Remove use of URLRequestFilter (Which wasn't being set up correctly, anyways) #

Total comments: 5

Patch Set 6 : Response to comments #

Patch Set 7 : Switch to early return #

Total comments: 2

Patch Set 8 : Fix alphabetization #

Patch Set 9 : Oops, had another local change I forgot about #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -345 lines) Patch
M content/browser/loader/DEPS View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/loader/mock_resource_loader.h View 1 2 3 4 5 3 chunks +25 lines, -1 line 0 comments Download
M content/browser/loader/mock_resource_loader.cc View 1 2 3 4 5 6 4 chunks +56 lines, -6 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 1 2 3 4 5 34 chunks +187 lines, -337 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 63 (47 generated)
mmenke
Review this CL, or wait until I get back. I haven't done a cleanup pass ...
4 years ago (2016-12-16 23:04:08 UTC) #4
Randy Smith (Not in Mondays)
I'll want to do another pass after your cleanup pass, but this looks basically good ...
4 years ago (2016-12-21 16:47:38 UTC) #7
mmenke
https://codereview.chromium.org/2581393002/diff/1/content/browser/loader/mock_resource_loader.cc File content/browser/loader/mock_resource_loader.cc (right): https://codereview.chromium.org/2581393002/diff/1/content/browser/loader/mock_resource_loader.cc#newcode165 content/browser/loader/mock_resource_loader.cc:165: const net::URLRequestStatus& status) { On 2016/12/21 16:47:37, Randy Smith ...
3 years, 11 months ago (2017-01-05 18:50:26 UTC) #17
Randy Smith (Not in Mondays)
LGTM; you may use your judgement around the comments below. https://codereview.chromium.org/2581393002/diff/1/content/browser/loader/mock_resource_loader.cc File content/browser/loader/mock_resource_loader.cc (right): https://codereview.chromium.org/2581393002/diff/1/content/browser/loader/mock_resource_loader.cc#newcode192 ...
3 years, 11 months ago (2017-01-10 23:07:47 UTC) #22
mmenke
Thanks for the review! https://codereview.chromium.org/2581393002/diff/80001/content/browser/loader/mojo_async_resource_handler_unittest.cc File content/browser/loader/mojo_async_resource_handler_unittest.cc (right): https://codereview.chromium.org/2581393002/diff/80001/content/browser/loader/mojo_async_resource_handler_unittest.cc#newcode433 content/browser/loader/mojo_async_resource_handler_unittest.cc:433: // ERR_INSUFFICIENT_RESOURCES here (Which it ...
3 years, 11 months ago (2017-01-11 22:12:55 UTC) #29
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/2581393002/140001
3 years, 11 months ago (2017-01-12 00:34:35 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/340198)
3 years, 11 months ago (2017-01-12 00:46:51 UTC) #37
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/2581393002/160001
3 years, 11 months ago (2017-01-12 15:44:30 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/369811)
3 years, 11 months ago (2017-01-12 16:08:13 UTC) #44
mmenke
[+clamy]: TBRing you for DEPS change (Not an actual DEPS change, just fixing alphebetization of ...
3 years, 11 months ago (2017-01-12 16:12:57 UTC) #48
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/2581393002/140001
3 years, 11 months ago (2017-01-12 16:13:36 UTC) #50
clamy
lgtm with one nit https://codereview.chromium.org/2581393002/diff/140001/content/browser/loader/DEPS File content/browser/loader/DEPS (right): https://codereview.chromium.org/2581393002/diff/140001/content/browser/loader/DEPS#newcode109 content/browser/loader/DEPS:109: "+content/browser/loader/mock_resource_loader.h", Shouldn't this go on ...
3 years, 11 months ago (2017-01-12 16:16:33 UTC) #51
mmenke
https://codereview.chromium.org/2581393002/diff/140001/content/browser/loader/DEPS File content/browser/loader/DEPS (right): https://codereview.chromium.org/2581393002/diff/140001/content/browser/loader/DEPS#newcode109 content/browser/loader/DEPS:109: "+content/browser/loader/mock_resource_loader.h", On 2017/01/12 16:16:33, clamy wrote: > Shouldn't this ...
3 years, 11 months ago (2017-01-12 16:19:08 UTC) #53
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/2581393002/180001
3 years, 11 months ago (2017-01-12 16:21: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/2581393002/200001
3 years, 11 months ago (2017-01-12 16:22:58 UTC) #60
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 16:53:56 UTC) #63
Message was sent while issue was closed.
Committed patchset #9 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/5159f105dbf404212d7d8e1b2453...

Powered by Google App Engine
This is Rietveld 408576698