DescriptionFix ResourceDispatcherHostDelegate::OnResponseStarted not getting called for navigation requests.
It was being called by AsyncResourceHandler which isn't used for navigation requests. Move the call to ResourceDispatcherHostImpl instead.
This fixes
org.chromium.android_webview.test.AwContentsClientAutoLoginTest_testAutoLoginOnGoogleCom
org.chromium.android_webview.test.AwContentsClientAutoLoginTest_testAutoLoginOnGoogleCom_with__--webview-sandboxed-renderer_
org.chromium.android_webview.test.AwContentsClientAutoLoginTest_testAutoLoginOnNonGoogle
org.chromium.android_webview.test.AwContentsClientAutoLoginTest_testAutoLoginOnNonGoogle_with__--webview-sandboxed-renderer_
org.chromium.android_webview.test.AwContentsClientAutoLoginTest_testAutoLoginWithNullAccount
org.chromium.android_webview.test.AwContentsClientAutoLoginTest_testAutoLoginWithNullAccount_with__--webview-sandboxed-renderer_
with PlzNavigate.
BUG=645983
Review-Url: https://codereview.chromium.org/2741433002
Cr-Commit-Position: refs/heads/master@{#455671}
Committed: https://chromium.googlesource.com/chromium/src/+/339b2ea6f222dcdaa3036e6e47f8aa1300343f38
Patch Set 1 #Patch Set 2 : without PlzNavigate #Patch Set 3 : fix mojo unittests #Patch Set 4 : fix mojo unittests #Messages
Total messages: 24 (20 generated)
|