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

Unified Diff: net/proxy/proxy_script_fetcher.cc

Issue 155897: Add support to URLRequest for deferring redirects.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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/proxy/proxy_script_fetcher.cc
===================================================================
--- net/proxy/proxy_script_fetcher.cc (revision 21335)
+++ net/proxy/proxy_script_fetcher.cc (working copy)
@@ -67,7 +67,6 @@
AuthChallengeInfo* auth_info);
virtual void OnSSLCertificateError(URLRequest* request, int cert_error,
X509Certificate* cert);
- virtual void OnReceivedRedirect(URLRequest* request, const GURL& to_url);
virtual void OnResponseStarted(URLRequest* request);
virtual void OnReadCompleted(URLRequest* request, int num_bytes);
virtual void OnResponseCompleted(URLRequest* request);
@@ -199,12 +198,6 @@
request->Cancel();
}
-void ProxyScriptFetcherImpl::OnReceivedRedirect(URLRequest* request,
- const GURL& to_url) {
- DCHECK(request == cur_request_.get());
- // OK, thanks for telling.
-}
-
void ProxyScriptFetcherImpl::OnResponseStarted(URLRequest* request) {
DCHECK(request == cur_request_.get());

Powered by Google App Engine
This is Rietveld 408576698