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

Unified Diff: net/url_request/url_request_job.h

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Rebase. :( Created 3 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 | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index 2341999ae5493b1e205343963b41d8cbc68549de..b5b4070014409bf3602bb8de206995da16ab5c41 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -328,6 +328,11 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
// On return, |this| may be deleted.
void ReadRawDataComplete(int bytes_read);
+ // Computes a new RedirectInfo based on receiving a redirect response of
+ // |location| and |http_status_code|.
+ virtual RedirectInfo ComputeRedirectInfo(const GURL& location,
+ int http_status_code);
+
// The request that initiated this job. This value will never be nullptr.
URLRequest* const request_;
@@ -379,10 +384,6 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
// read since the last invocation.
virtual void UpdatePacketReadTimes();
- // Computes a new RedirectInfo based on receiving a redirect response of
- // |location| and |http_status_code|.
- RedirectInfo ComputeRedirectInfo(const GURL& location, int http_status_code);
-
// Notify the network delegate that more bytes have been received or sent over
// the network, if bytes have been received or sent since the previous
// notification.
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698