Commit 712427d9 authored by jaekyun's avatar jaekyun Committed by Commit bot

Apply the same logic with one of ChromeResourceDispatcherHostDelegate

https://codereview.chromium.org/1056913008 modified codes to carry over
a user gesture bit for all the non-main frame request types.
The same logic should be applied to AwResourceDispatcherHostDelegate.

BUG=478972

Review URL: https://codereview.chromium.org/1106333002

Cr-Commit-Position: refs/heads/master@{#327382}
parent fd6f83cc
......@@ -232,7 +232,7 @@ void AwResourceDispatcherHostDelegate::RequestBeginning(
if (resource_type == content::RESOURCE_TYPE_MAIN_FRAME) {
throttles->push_back(InterceptNavigationDelegate::CreateThrottleFor(
request));
} else if (resource_type == content::RESOURCE_TYPE_XHR) {
} else {
InterceptNavigationDelegate::UpdateUserGestureCarryoverInfo(request);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment