diff options
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/chrome_plugin_host.cc | 3 | ||||
-rw-r--r-- | chrome/browser/net/url_fetcher.cc | 2 | ||||
-rw-r--r-- | chrome/browser/plugin_process_host.cc | 6 | ||||
-rw-r--r-- | chrome/browser/renderer_host/resource_dispatcher_host.cc | 3 | ||||
-rw-r--r-- | chrome/browser/renderer_host/resource_dispatcher_host.h | 3 |
5 files changed, 6 insertions, 11 deletions
diff --git a/chrome/browser/chrome_plugin_host.cc b/chrome/browser/chrome_plugin_host.cc index 4772769..75a2fc3 100644 --- a/chrome/browser/chrome_plugin_host.cc +++ b/chrome/browser/chrome_plugin_host.cc @@ -189,7 +189,8 @@ class PluginRequestHandler : public PluginHelper, public URLRequest::Delegate { } // URLRequest::Delegate - virtual void OnReceivedRedirect(URLRequest* request, const GURL& new_url) { + virtual void OnReceivedRedirect(URLRequest* request, const GURL& new_url, + bool* defer_redirect) { plugin_->functions().response_funcs->received_redirect( cprequest_.get(), new_url.spec().c_str()); } diff --git a/chrome/browser/net/url_fetcher.cc b/chrome/browser/net/url_fetcher.cc index 4783aea8..03586eb 100644 --- a/chrome/browser/net/url_fetcher.cc +++ b/chrome/browser/net/url_fetcher.cc @@ -44,8 +44,6 @@ class URLFetcher::Core void Stop(); // URLRequest::Delegate implementations - virtual void OnReceivedRedirect(URLRequest* request, - const GURL& new_url) { } virtual void OnResponseStarted(URLRequest* request); virtual void OnReadCompleted(URLRequest* request, int bytes_read); diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index fe9addf..f03b42f 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -82,8 +82,6 @@ class PluginDownloadUrlHelper : public URLRequest::Delegate { void InitiateDownload(); // URLRequest::Delegate - virtual void OnReceivedRedirect(URLRequest* request, - const GURL& new_url); virtual void OnAuthRequired(URLRequest* request, net::AuthChallengeInfo* auth_info); virtual void OnSSLCertificateError(URLRequest* request, @@ -143,10 +141,6 @@ void PluginDownloadUrlHelper::InitiateDownload() { download_file_request_->Start(); } -void PluginDownloadUrlHelper::OnReceivedRedirect(URLRequest* request, - const GURL& new_url) { -} - void PluginDownloadUrlHelper::OnAuthRequired( URLRequest* request, net::AuthChallengeInfo* auth_info) { diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc index 9ac5b7f..5e46a8a 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.cc +++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc @@ -889,7 +889,8 @@ void ResourceDispatcherHost::RemovePendingRequest( // URLRequest::Delegate ------------------------------------------------------- void ResourceDispatcherHost::OnReceivedRedirect(URLRequest* request, - const GURL& new_url) { + const GURL& new_url, + bool* defer_redirect) { RESOURCE_LOG("OnReceivedRedirect: " << request->url().spec()); ExtraRequestInfo* info = ExtraInfoForRequest(request); diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.h b/chrome/browser/renderer_host/resource_dispatcher_host.h index 7a0d4220..70ca89f 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.h +++ b/chrome/browser/renderer_host/resource_dispatcher_host.h @@ -309,7 +309,8 @@ class ResourceDispatcherHost : public URLRequest::Delegate { // URLRequest::Delegate virtual void OnReceivedRedirect(URLRequest* request, - const GURL& new_url); + const GURL& new_url, + bool* defer_redirect); virtual void OnAuthRequired(URLRequest* request, net::AuthChallengeInfo* auth_info); virtual void OnCertificateRequested( |