summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_prefs.cc5
-rw-r--r--chrome/browser/download/download_prefs.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
index cab7cbde..281adf4 100644
--- a/chrome/browser/download/download_prefs.cc
+++ b/chrome/browser/download/download_prefs.cc
@@ -117,11 +117,6 @@ void DownloadPrefs::DisableAutoOpenBasedOnExtension(const FilePath& file_name) {
SaveAutoOpenState();
}
-void DownloadPrefs::ResetToDefaults() {
- // TODO(phajdan.jr): Should we reset rest of prefs here?
- ResetAutoOpen();
-}
-
void DownloadPrefs::ResetAutoOpen() {
auto_open_.clear();
SaveAutoOpenState();
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h
index 8bcebfe..cd7bad4 100644
--- a/chrome/browser/download/download_prefs.h
+++ b/chrome/browser/download/download_prefs.h
@@ -46,7 +46,6 @@ class DownloadPrefs {
// Disables auto-open based on file extension.
void DisableAutoOpenBasedOnExtension(const FilePath& file_name);
- void ResetToDefaults();
void ResetAutoOpen();
private: