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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_H_
6 #define NET_URL_REQUEST_URL_REQUEST_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 // Note that this method has no effect on other (simultaneous or not) requests 581 // Note that this method has no effect on other (simultaneous or not) requests
582 // for the same resource. The typical example is a request that results in 582 // for the same resource. The typical example is a request that results in
583 // the data being stored to disk (downloaded instead of rendered) so we don't 583 // the data being stored to disk (downloaded instead of rendered) so we don't
584 // want to store it twice. 584 // want to store it twice.
585 void StopCaching(); 585 void StopCaching();
586 586
587 // This method may be called to follow a redirect that was deferred in 587 // This method may be called to follow a redirect that was deferred in
588 // response to an OnReceivedRedirect call. 588 // response to an OnReceivedRedirect call.
589 void FollowDeferredRedirect(); 589 void FollowDeferredRedirect();
590 590
591 // Returns the URL of a redirect that has been previously deferred.
592 const GURL& GetDeferredRedirectUrl();
593
591 // This method must be called to resume network communications that were 594 // This method must be called to resume network communications that were
592 // deferred in response to an OnBeforeNetworkStart call. 595 // deferred in response to an OnBeforeNetworkStart call.
593 void ResumeNetworkStart(); 596 void ResumeNetworkStart();
594 597
595 // One of the following two methods should be called in response to an 598 // One of the following two methods should be called in response to an
596 // OnAuthRequired() callback (and only then). 599 // OnAuthRequired() callback (and only then).
597 // SetAuth will reissue the request with the given credentials. 600 // SetAuth will reissue the request with the given credentials.
598 // CancelAuth will give up and display the error page. 601 // CancelAuth will give up and display the error page.
599 void SetAuth(const AuthCredentials& credentials); 602 void SetAuth(const AuthCredentials& credentials);
600 void CancelAuth(); 603 void CancelAuth();
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 850
848 // The proxy server used for this request, if any. 851 // The proxy server used for this request, if any.
849 HostPortPair proxy_server_; 852 HostPortPair proxy_server_;
850 853
851 DISALLOW_COPY_AND_ASSIGN(URLRequest); 854 DISALLOW_COPY_AND_ASSIGN(URLRequest);
852 }; 855 };
853 856
854 } // namespace net 857 } // namespace net
855 858
856 #endif // NET_URL_REQUEST_URL_REQUEST_H_ 859 #endif // NET_URL_REQUEST_URL_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698