summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_prefs.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 11:15:36 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 11:15:36 +0000
commitf13706a7c5c9bd60d2e4d4678a4f64e822608d21 (patch)
tree66e136e944db9e4ffb7aeb1028aa1589fe47d373 /chrome/browser/download/download_prefs.h
parent306f989feb6ba625b3330b7d8ad9ede979edbcb4 (diff)
downloadchromium_src-f13706a7c5c9bd60d2e4d4678a4f64e822608d21.zip
chromium_src-f13706a7c5c9bd60d2e4d4678a4f64e822608d21.tar.gz
chromium_src-f13706a7c5c9bd60d2e4d4678a4f64e822608d21.tar.bz2
Save web page doesn't remember preferred format.
BUG=67135 TEST=see bug Review URL: http://codereview.chromium.org/6410013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_prefs.h')
-rw-r--r--chrome/browser/download/download_prefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h
index 1345a44..b65bb29 100644
--- a/chrome/browser/download/download_prefs.h
+++ b/chrome/browser/download/download_prefs.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -23,6 +23,7 @@ class DownloadPrefs {
bool prompt_for_download() const { return *prompt_for_download_; }
FilePath download_path() const { return *download_path_; }
+ int save_file_type() const { return *save_file_type_; }
// Returns true if there is at least one file extension registered
// for auto-open.
@@ -48,6 +49,7 @@ class DownloadPrefs {
BooleanPrefMember prompt_for_download_;
FilePathPrefMember download_path_;
+ IntegerPrefMember save_file_type_;
// Set of file extensions to open at download completion.
struct AutoOpenCompareFunctor {