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

Unified Diff: net/url_request/url_request_redirect_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: Not sure I like this. Created 4 years 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_redirect_job.h
diff --git a/net/url_request/url_request_redirect_job.h b/net/url_request/url_request_redirect_job.h
index a671844f9426df80f18a3b445fb0636e6bc4284d..a1fe88ade00eec7b3d934507869430763aa3c082 100644
--- a/net/url_request/url_request_redirect_job.h
+++ b/net/url_request/url_request_redirect_job.h
@@ -51,6 +51,10 @@ class NET_EXPORT URLRequestRedirectJob : public URLRequestJob {
bool CopyFragmentOnRedirect(const GURL& location) const override;
int GetResponseCode() const override;
+ const GURL& RedirectDestinationForTesting() const {
+ return redirect_destination_;
+ }
+
private:
void StartAsync();

Powered by Google App Engine
This is Rietveld 408576698