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

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: @r197032 Created 7 years, 8 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 90ec566c947a2f63af7918c2a118acc3287f1d09..1de428341ed03e431f670c03e648275a72ed4862 100644
--- a/chrome/browser/download/download_prefs.h
+++ b/chrome/browser/download/download_prefs.h
@@ -35,7 +35,10 @@ class DownloadPrefs {
content::BrowserContext* browser_context);
base::FilePath DownloadPath() const;
+ 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
@@ -68,6 +71,7 @@ class DownloadPrefs {
BooleanPrefMember prompt_for_download_;
FilePathPrefMember download_path_;
+ FilePathPrefMember 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