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

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: @r202870 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
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ca70b6c9a8c769d2e46763349ab354d68a55fb0c 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,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.
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698