diff options
Diffstat (limited to 'chrome/browser/download')
| -rw-r--r-- | chrome/browser/download/download_throttling_resource_handler.cc | 6 | ||||
| -rw-r--r-- | chrome/browser/download/download_throttling_resource_handler.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/download/download_throttling_resource_handler.cc b/chrome/browser/download/download_throttling_resource_handler.cc index 70f26ae..a65f984 100644 --- a/chrome/browser/download/download_throttling_resource_handler.cc +++ b/chrome/browser/download/download_throttling_resource_handler.cc @@ -11,7 +11,7 @@ #include "content/browser/renderer_host/resource_dispatcher_host.h" #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" #include "content/browser/resource_context.h" -#include "content/common/resource_response.h" +#include "content/public/common/resource_response.h" #include "net/base/io_buffer.h" #include "net/base/mime_sniffer.h" @@ -65,7 +65,7 @@ bool DownloadThrottlingResourceHandler::OnUploadProgress(int request_id, bool DownloadThrottlingResourceHandler::OnRequestRedirected( int request_id, const GURL& url, - ResourceResponse* response, + content::ResourceResponse* response, bool* defer) { DCHECK(!request_closed_); if (request_allowed_) { @@ -77,7 +77,7 @@ bool DownloadThrottlingResourceHandler::OnRequestRedirected( bool DownloadThrottlingResourceHandler::OnResponseStarted( int request_id, - ResourceResponse* response) { + content::ResourceResponse* response) { DCHECK(!request_closed_); if (request_allowed_) return next_handler_->OnResponseStarted(request_id, response); diff --git a/chrome/browser/download/download_throttling_resource_handler.h b/chrome/browser/download/download_throttling_resource_handler.h index 5c13a16..5e9cba5 100644 --- a/chrome/browser/download/download_throttling_resource_handler.h +++ b/chrome/browser/download/download_throttling_resource_handler.h @@ -46,10 +46,10 @@ class DownloadThrottlingResourceHandler uint64 size) OVERRIDE; virtual bool OnRequestRedirected(int request_id, const GURL& url, - ResourceResponse* response, + content::ResourceResponse* response, bool* defer) OVERRIDE; virtual bool OnResponseStarted(int request_id, - ResourceResponse* response) OVERRIDE; + content::ResourceResponse* response) OVERRIDE; virtual bool OnWillStart(int request_id, const GURL& url, bool* defer) OVERRIDE; @@ -87,7 +87,7 @@ class DownloadThrottlingResourceHandler // Response supplied to OnResponseStarted. Only non-null if OnResponseStarted // is invoked. - scoped_refptr<ResourceResponse> response_; + scoped_refptr<content::ResourceResponse> response_; // If we're created by way of BufferedEventHandler we'll get one request for // a buffer. This is that buffer. |
