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

Unified Diff: net/url_request/url_request.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Fixed external handling order change for request start and redirects. Created 4 years, 5 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.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 005ae29d2cbc2627e869c4f65e99ba52393d5941..1d52a9b6a507b447aa28c6c032012219e39aed7d 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -588,6 +588,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// response to an OnReceivedRedirect call.
void FollowDeferredRedirect();
+ // Returns the URL of a redirect that has been previously deferred.
+ const GURL& GetDeferredRedirectUrl();
+
// This method must be called to resume network communications that were
// deferred in response to an OnBeforeNetworkStart call.
void ResumeNetworkStart();

Powered by Google App Engine
This is Rietveld 408576698