Index: chrome/browser/download/download_prefs.h |
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h |
index 24b4446d3ae2d3528f4b8fdffd75ae235f3ff39d..00328d99e43c8da067f7bb6f67a0efd1d80982e5 100644 |
--- a/chrome/browser/download/download_prefs.h |
+++ b/chrome/browser/download/download_prefs.h |
@@ -38,7 +38,11 @@ class DownloadPrefs { |
content::BrowserContext* browser_context); |
base::FilePath DownloadPath() const; |
+ void SetDownloadPath(const base::FilePath& path); |
+ base::FilePath SaveFilePath() const; |
+ void SetSaveFilePath(const base::FilePath& path); |
int save_file_type() const { return *save_file_type_; } |
+ void SetSaveFileType(int type); |
// Returns true if the prompt_for_download preference has been set and the |
// download location is not managed (which means the user shouldn't be able |
@@ -72,6 +76,8 @@ class DownloadPrefs { |
BooleanPrefMember prompt_for_download_; |
FilePathPrefMember download_path_; |
+ FilePathPrefMember save_file_path_; |
+ base::FilePath incognito_save_file_path_; |
IntegerPrefMember save_file_type_; |
// Set of file extensions to open at download completion. |