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

Unified Diff: chrome/browser/download/save_types.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: Overrides the user's "Downloads" folder in DownloadPrefs Created 9 years, 6 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/save_types.h
diff --git a/chrome/browser/download/save_types.h b/chrome/browser/download/save_types.h
index 8295106e42e5ad221f1b8c91d9919c582590a050..723b4d87b5beee5fcbcebe0e5244283a87fce45e 100644
--- a/chrome/browser/download/save_types.h
+++ b/chrome/browser/download/save_types.h
@@ -63,6 +63,8 @@ struct SaveFileCreateInfo {
int64 total_bytes;
// Source type of saved file.
SaveFileSource save_source;
+ // The default user's "Downloads" folder.
+ FilePath default_download_dir;
};
#endif // CHROME_BROWSER_DOWNLOAD_SAVE_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698