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

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

Issue 6973052: When the download folder does not exist, change the download folder to a user's "Downloads" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add SavePageTest.SavedFolder4 and DownloadTest.DownloadedFolder2 Created 9 years, 7 months 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_manager.h
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
index 79018bec672195496af041f0f6dbaff25c8d91de..ce6b8068b2de5c18377af464cb0d4e9351eee74d 100644
--- a/chrome/browser/download/download_manager.h
+++ b/chrome/browser/download/download_manager.h
@@ -86,7 +86,9 @@ class DownloadManager
// Called immediately after the DownloadManager puts up a select file
// dialog.
// |id| indicates which download opened the dialog.
- virtual void SelectFileDialogDisplayed(int32 id) {}
+ // |suggested_path| indicates the path suggested in the dialog.
+ virtual void SelectFileDialogDisplayed(
+ int32 id, const FilePath& suggested_path) {}
protected:
virtual ~Observer() {}

Powered by Google App Engine
This is Rietveld 408576698