| 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 #ifndef CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_DELEGATE_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/browser/download/download_manager_delegate.h" | 10 #include "content/browser/download/download_manager_delegate.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 virtual void RemoveItemsFromPersistentStoreBetween( | 35 virtual void RemoveItemsFromPersistentStoreBetween( |
| 36 const base::Time remove_begin, | 36 const base::Time remove_begin, |
| 37 const base::Time remove_end) OVERRIDE; | 37 const base::Time remove_end) OVERRIDE; |
| 38 virtual void GetSaveDir(TabContents* tab_contents, | 38 virtual void GetSaveDir(TabContents* tab_contents, |
| 39 FilePath* website_save_dir, | 39 FilePath* website_save_dir, |
| 40 FilePath* download_save_dir) OVERRIDE; | 40 FilePath* download_save_dir) OVERRIDE; |
| 41 virtual void ChooseSavePath(const base::WeakPtr<SavePackage>& save_package, | 41 virtual void ChooseSavePath(const base::WeakPtr<SavePackage>& save_package, |
| 42 const FilePath& suggested_path, | 42 const FilePath& suggested_path, |
| 43 bool can_save_as_complete) OVERRIDE; | 43 bool can_save_as_complete) OVERRIDE; |
| 44 virtual void DownloadProgressUpdated() OVERRIDE; | 44 virtual void DownloadProgressUpdated() OVERRIDE; |
| 45 virtual void SetDownloadManager(DownloadManager* manager) OVERRIDE; |
| 45 }; | 46 }; |
| 46 | 47 |
| 47 #endif // CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_DELEGATE_H_ | 48 #endif // CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_DELEGATE_H_ |
| OLD | NEW |