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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 1056913008: Carry over a user gesture bit for all the non-main frame request types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Carry over user gesture bit for all non-main frame request types Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index 3e494c810446de7b30d6e58c4edab2aed9d523a3..3244504f1067639a24453ae84ada03efc30aadec 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -372,7 +372,7 @@ void ChromeResourceDispatcherHostDelegate::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);
}
}

Powered by Google App Engine
This is Rietveld 408576698