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

Unified Diff: net/url_request/url_request.h

Issue 2079783002: Move HSTS redirection from URLRequest to URLRequestHTTPJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iOS Created 4 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 | « no previous file | net/url_request/url_request.cc » ('j') | net/url_request/url_request_http_job_unittest.cc » ('J')
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 1aa0dba74b600ca100942323bd6fd874c719a2dc..97cf291eb25b6d923d1adf933f5e7ab73b131f4f 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -628,10 +628,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// MAXIMUM_PRIORITY if the IGNORE_LIMITS load flag is set.
void SetPriority(RequestPriority priority);
- // Returns true iff this request would be internally redirected to HTTPS
- // due to HSTS. If so, |redirect_url| is rewritten to the new HTTPS URL.
- bool GetHSTSRedirect(GURL* redirect_url) const;
-
void set_received_response_content_length(int64_t received_content_length) {
received_response_content_length_ = received_content_length;
}
« no previous file with comments | « no previous file | net/url_request/url_request.cc » ('j') | net/url_request/url_request_http_job_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698