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

Unified Diff: mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom

Issue 1146923003: Handle redirects in AuthenticatingURLLoaderImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to review Created 5 years, 7 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 | services/authenticating_url_loader/authenticating_url_loader_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
diff --git a/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom b/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
index 4fff367aeb8b37abba526f4fbf15a172ea1f7d8a..b73c919f69652d5c68dfa90bc85bdbfb0b5befd0 100644
--- a/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
+++ b/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
@@ -13,4 +13,9 @@ interface AuthenticatingURLLoader {
// |response| to determine if the request resulted in an error, was
// redirected, or has a response body to be consumed.
Start(URLRequest request) => (URLResponse response);
+
+ // If the request passed to |Start| had |auto_follow_redirects| set to false,
+ // then upon receiving an URLResponse with a non-NULL |redirect_url| field,
+ // |FollowRedirect| may be called to load the URL indicated by the redirect.
+ FollowRedirect() => (URLResponse response);
};
« no previous file with comments | « no previous file | services/authenticating_url_loader/authenticating_url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698