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

Issue 2489793002: Use a proper URLLoaderAssociatedRequest in MojoAsyncResourceHandler tests (Closed)

Created:
4 years, 1 month ago by yhirano
Modified:
4 years, 1 month 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

Use a proper URLLoaderAssociatedRequest in MojoAsyncResourceHandler tests We used to pass null URLLoaderAssociatedRequest to MojoAsyncResourceHandler. As we are planning to set an error_handler to the associated binding, we need to pass a proper URLLoaderAssociatedRequest. BUG=603396 Committed: https://crrev.com/ffcc0b4318abf391735e2eb2f46381a3264bd2c6 Cr-Commit-Position: refs/heads/master@{#431764}

Patch Set 1 #

Patch Set 2 : done #

Total comments: 2

Patch Set 3 : fix #

Patch Set 4 : fix #

Patch Set 5 : fix #

Total comments: 4

Patch Set 6 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -88 lines) Patch
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 1 2 3 4 5 4 chunks +60 lines, -4 lines 0 comments Download
M content/browser/loader/test_url_loader_client.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/loader/test_url_loader_client.cc View 2 chunks +0 lines, -79 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 38 (28 generated)
yhirano
Can you take a look? See also: https://codereview.chromium.org/2466843002/
4 years, 1 month ago (2016-11-09 03:39:29 UTC) #8
yzshen1
https://codereview.chromium.org/2489793002/diff/20001/content/browser/loader/mojo_async_resource_handler_unittest.cc File content/browser/loader/mojo_async_resource_handler_unittest.cc (right): https://codereview.chromium.org/2489793002/diff/20001/content/browser/loader/mojo_async_resource_handler_unittest.cc#newcode355 content/browser/loader/mojo_async_resource_handler_unittest.cc:355: scoped_refptr<TestURLLoaderFactory::Waiter> waiter( I think |waiter| may not be necessary, ...
4 years, 1 month ago (2016-11-09 17:40:48 UTC) #13
yhirano
https://codereview.chromium.org/2489793002/diff/20001/content/browser/loader/mojo_async_resource_handler_unittest.cc File content/browser/loader/mojo_async_resource_handler_unittest.cc (right): https://codereview.chromium.org/2489793002/diff/20001/content/browser/loader/mojo_async_resource_handler_unittest.cc#newcode355 content/browser/loader/mojo_async_resource_handler_unittest.cc:355: scoped_refptr<TestURLLoaderFactory::Waiter> waiter( On 2016/11/09 17:40:48, yzshen1 wrote: > I ...
4 years, 1 month ago (2016-11-10 07:33:53 UTC) #20
yzshen1
LGTM with two more nits. https://codereview.chromium.org/2489793002/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/2489793002/diff/80001/content/browser/loader/mojo_async_resource_handler_unittest.cc#newcode289 content/browser/loader/mojo_async_resource_handler_unittest.cc:289: mojom::URLLoaderAssociatedRequest LoaderRequest() { style ...
4 years, 1 month ago (2016-11-10 17:28:36 UTC) #23
yhirano
https://codereview.chromium.org/2489793002/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/2489793002/diff/80001/content/browser/loader/mojo_async_resource_handler_unittest.cc#newcode289 content/browser/loader/mojo_async_resource_handler_unittest.cc:289: mojom::URLLoaderAssociatedRequest LoaderRequest() { On 2016/11/10 17:28:36, yzshen1 wrote: > ...
4 years, 1 month ago (2016-11-11 03:13:37 UTC) #28
yhirano
+csharrison@ for OWNER reivew.
4 years, 1 month ago (2016-11-11 03:14:23 UTC) #30
Charlie Harrison
generally lgtm
4 years, 1 month ago (2016-11-11 22:09:15 UTC) #31
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/2489793002/100001
4 years, 1 month ago (2016-11-12 03:36:45 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-12 04:02:12 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 04:05:18 UTC) #38
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ffcc0b4318abf391735e2eb2f46381a3264bd2c6
Cr-Commit-Position: refs/heads/master@{#431764}

Powered by Google App Engine
This is Rietveld 408576698