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

Unified Diff: net/url_request/url_request.h

Issue 2917133002: Perform redirect checks before OnReceivedRedirect in //net. (Closed)
Patch Set: nasko comments Created 3 years, 6 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 | « net/base/net_error_list.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 41410703af7ee903e588d502d1284dcb7680e667..e5b06ad0c0e6535794763bb1c7a6939b11681ddd 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -663,9 +663,8 @@ class NET_EXPORT URLRequest : public base::SupportsUserData {
// Allow the URLRequestJob class to set our status too.
void set_status(URLRequestStatus status);
- // Allow the URLRequestJob to redirect this request. Returns OK if
- // successful, otherwise an error code is returned.
- int Redirect(const RedirectInfo& redirect_info);
+ // Allow the URLRequestJob to redirect this request.
+ void Redirect(const RedirectInfo& redirect_info);
// Called by URLRequestJob to allow interception when a redirect occurs.
void NotifyReceivedRedirect(const RedirectInfo& redirect_info,
« no previous file with comments | « net/base/net_error_list.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698