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

Issue 303993005: Add browser test for ChromeResourceDispatcherHostDelegate. (Closed)

Created:
6 years, 6 months ago by Andrew T Wilson (Slow)
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add browser test for ChromeResourceDispatcherHostDelegate. Also fixed bug in ChromeResourceDispatcherHostDelegate where it was using the wrong URL when detecting whether to add a policy header to a redirect (yay for tests). BUG=378729 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275498

Patch Set 1 #

Patch Set 2 : Got unit test working #

Total comments: 9

Patch Set 3 : Fixed compilation error and addressed review feedback. #

Patch Set 4 : Fix use-after-free of ResourceDispatcherHostDelegate in test. #

Messages

Total messages: 12 (0 generated)
Andrew T Wilson (Slow)
Jochen, PTAL.
6 years, 6 months ago (2014-06-05 15:16:22 UTC) #1
jochen (gone - plz use gerrit)
lgtm with nits you'll also need to update the unit tests https://codereview.chromium.org/303993005/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc (right): ...
6 years, 6 months ago (2014-06-06 07:18:39 UTC) #2
Andrew T Wilson (Slow)
Thanks for the quick turnaround (and also the pointer to using BrowserTests for this instead ...
6 years, 6 months ago (2014-06-06 08:42:19 UTC) #3
Andrew T Wilson (Slow)
The CQ bit was checked by atwilson@chromium.org
6 years, 6 months ago (2014-06-06 08:42:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/303993005/40001
6 years, 6 months ago (2014-06-06 08:43:47 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 13:33:54 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/303993005/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc (right): https://codereview.chromium.org/303993005/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc#newcode139 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate_browsertest.cc:139: GURL dm_url_; On 2014/06/06 08:42:19, Andrew T Wilson wrote: ...
6 years, 6 months ago (2014-06-06 13:43:50 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 15:03:58 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/35142)
6 years, 6 months ago (2014-06-06 15:03:59 UTC) #9
Andrew T Wilson (Slow)
The CQ bit was checked by atwilson@chromium.org
6 years, 6 months ago (2014-06-06 16:11:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/303993005/60001
6 years, 6 months ago (2014-06-06 16:12:07 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 19:15:25 UTC) #12
Message was sent while issue was closed.
Change committed as 275498

Powered by Google App Engine
This is Rietveld 408576698