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

Unified Diff: net/url_request/url_request_http_job.h

Issue 2079783002: Move HSTS redirection from URLRequest to URLRequestHTTPJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: net/url_request/url_request_http_job.h
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h
index 212ab51c3bc3f42b7b1ca392fb92b10e2ce01dde..a646a53a85ca49fadc0854ed82825fb7a9bf6b7c 100644
--- a/net/url_request/url_request_http_job.h
+++ b/net/url_request/url_request_http_job.h
@@ -40,6 +40,7 @@ class ProxyInfo;
class SSLPrivateKey;
class UploadDataStream;
class URLRequestContext;
+class URLRequestRedirectJob;
mmenke 2016/06/17 15:08:07 Rather not forward declare this - can either make
Mike West 2016/06/17 16:35:16 Done.
// A URLRequestJob subclass that is built on top of HttpTransaction. It
// provides an implementation for both HTTP and HTTPS.
@@ -56,6 +57,10 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
~URLRequestHttpJob() override;
+ static URLRequestRedirectJob* MaybeInternallyRedirect(
+ URLRequest* request,
+ NetworkDelegate* network_delegate);
mmenke 2016/06/17 15:08:07 Actually, if this is static, can we just move it i
Mike West 2016/06/17 16:35:17 Done.
+
// Overridden from URLRequestJob:
void SetPriority(RequestPriority priority) override;
void Start() override;

Powered by Google App Engine
This is Rietveld 408576698