diff options
Diffstat (limited to 'content/browser/download/save_file_resource_handler.cc')
| -rw-r--r-- | content/browser/download/save_file_resource_handler.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/content/browser/download/save_file_resource_handler.cc b/content/browser/download/save_file_resource_handler.cc index 146e0df..0fd6b55 100644 --- a/content/browser/download/save_file_resource_handler.cc +++ b/content/browser/download/save_file_resource_handler.cc @@ -33,16 +33,18 @@ bool SaveFileResourceHandler::OnUploadProgress(int request_id, return true; } -bool SaveFileResourceHandler::OnRequestRedirected(int request_id, - const GURL& url, - ResourceResponse* response, - bool* defer) { +bool SaveFileResourceHandler::OnRequestRedirected( + int request_id, + const GURL& url, + content::ResourceResponse* response, + bool* defer) { final_url_ = url; return true; } -bool SaveFileResourceHandler::OnResponseStarted(int request_id, - ResourceResponse* response) { +bool SaveFileResourceHandler::OnResponseStarted( + int request_id, + content::ResourceResponse* response) { save_id_ = save_manager_->GetNextId(); // |save_manager_| consumes (deletes): SaveFileCreateInfo* info = new SaveFileCreateInfo; |
