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

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

Issue 893843003: Add RedirectInfo as a redirect parameter to ResourceThrottles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Document ResourceThrottle Created 5 years, 10 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 | chrome/browser/component_updater/component_updater_resource_throttle.cc » ('j') | 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 efe17076ea6819243462256914e3f8b64a59e6ea..36f37d475348d75b0bd85d1d81a74ef288313eea 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
@@ -67,7 +67,8 @@ class IoThreadClientThrottle : public content::ResourceThrottle {
// From content::ResourceThrottle
void WillStartRequest(bool* defer) override;
- void WillRedirectRequest(const GURL& new_url, bool* defer) override;
+ void WillRedirectRequest(const net::RedirectInfo& redirect_info,
+ bool* defer) override;
const char* GetNameForLogging() const override;
void OnIoThreadClientReady(int new_render_process_id,
@@ -120,8 +121,9 @@ void IoThreadClientThrottle::WillStartRequest(bool* defer) {
}
}
-void IoThreadClientThrottle::WillRedirectRequest(const GURL& new_url,
- bool* defer) {
+void IoThreadClientThrottle::WillRedirectRequest(
+ const net::RedirectInfo& redirect_info,
+ bool* defer) {
WillStartRequest(defer);
}
« no previous file with comments | « no previous file | chrome/browser/component_updater/component_updater_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698