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

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

Issue 12662032: Merge SavePackageFilePicker{,ChromeOS} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r198452 Created 7 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_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.

Powered by Google App Engine
This is Rietveld 408576698