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

Unified Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc

Issue 1106333002: Apply the same logic with one of ChromeResourceDispatcherHostDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
diff --git a/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc b/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
index 9b1e8dc93386f0a072da4720f319a555af0656b4..82b1e08866c930cfcb0e2ff0501b9b0101750832 100644
--- a/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
+++ b/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
@@ -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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698