Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4069)

Unified Diff: chrome/browser/download/download_file_picker.h

Issue 8351052: Created a DownloadManager interface, for use in unit tests.. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Mac & Clang issues. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_file_picker.h
diff --git a/chrome/browser/download/download_file_picker.h b/chrome/browser/download/download_file_picker.h
index bd665a892a6e52aebd427cec7d95d985e4725eff..52ce4a7298ab4de075a52217ecaa4008f0359d2a 100644
--- a/chrome/browser/download/download_file_picker.h
+++ b/chrome/browser/download/download_file_picker.h
@@ -16,7 +16,7 @@ class TabContents;
class DownloadFilePicker : public DownloadManager::Observer,
public SelectFileDialog::Listener {
public:
- DownloadFilePicker(DownloadManager* download_manager,
+ DownloadFilePicker(DownloadManagerInterface* download_manager,
TabContents* tab_contents,
const FilePath& suggested_path,
void* params);
@@ -31,7 +31,7 @@ class DownloadFilePicker : public DownloadManager::Observer,
virtual void FileSelected(const FilePath& path, int index, void* params);
virtual void FileSelectionCanceled(void* params);
- DownloadManager* download_manager_;
+ DownloadManagerInterface* download_manager_;
// For managing select file dialogs.
scoped_refptr<SelectFileDialog> select_file_dialog_;

Powered by Google App Engine
This is Rietveld 408576698