| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/browser/download/mock_download_manager_delegate.h" | 5 #include "content/browser/download/mock_download_manager_delegate.h" |
| 6 | 6 |
| 7 MockDownloadManagerDelegate::~MockDownloadManagerDelegate() { | 7 MockDownloadManagerDelegate::~MockDownloadManagerDelegate() { |
| 8 } | 8 } |
| 9 | 9 |
| 10 void MockDownloadManagerDelegate::Shutdown() { | 10 void MockDownloadManagerDelegate::Shutdown() { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool MockDownloadManagerDelegate::GenerateFileHash() { | 47 bool MockDownloadManagerDelegate::GenerateFileHash() { |
| 48 return false; | 48 return false; |
| 49 } | 49 } |
| 50 | 50 |
| 51 void MockDownloadManagerDelegate::OnResponseCompleted(DownloadItem* item, | 51 void MockDownloadManagerDelegate::OnResponseCompleted(DownloadItem* item, |
| 52 const std::string& hash) { | 52 const std::string& hash) { |
| 53 } | 53 } |
| 54 | 54 |
| 55 void MockDownloadManagerDelegate::MarkDownloadOpened(int64 db_handle) { |
| 56 } |
| 57 |
| 55 void MockDownloadManagerDelegate::AddItemToPersistentStore(DownloadItem* item) { | 58 void MockDownloadManagerDelegate::AddItemToPersistentStore(DownloadItem* item) { |
| 56 } | 59 } |
| 57 | 60 |
| 58 void MockDownloadManagerDelegate::UpdateItemInPersistentStore( | 61 void MockDownloadManagerDelegate::UpdateItemInPersistentStore( |
| 59 DownloadItem* item) { | 62 DownloadItem* item) { |
| 60 } | 63 } |
| 61 | 64 |
| 62 void MockDownloadManagerDelegate::UpdatePathForItemInPersistentStore( | 65 void MockDownloadManagerDelegate::UpdatePathForItemInPersistentStore( |
| 63 DownloadItem* item, | 66 DownloadItem* item, |
| 64 const FilePath& new_path) { | 67 const FilePath& new_path) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 80 } | 83 } |
| 81 | 84 |
| 82 void MockDownloadManagerDelegate::ChooseSavePath( | 85 void MockDownloadManagerDelegate::ChooseSavePath( |
| 83 const base::WeakPtr<SavePackage>& save_package, | 86 const base::WeakPtr<SavePackage>& save_package, |
| 84 const FilePath& suggested_path, | 87 const FilePath& suggested_path, |
| 85 bool can_save_as_complete) { | 88 bool can_save_as_complete) { |
| 86 } | 89 } |
| 87 | 90 |
| 88 void MockDownloadManagerDelegate::DownloadProgressUpdated() { | 91 void MockDownloadManagerDelegate::DownloadProgressUpdated() { |
| 89 } | 92 } |
| OLD | NEW |