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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.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/chrome_download_manager_delegate.h
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
index 904a79f04c3e9dbf7e35c0eb67e97b7b5e826ec5..6ef27e38abece7f25f0d49aa5d4cc41cced54c7a 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -53,8 +53,6 @@ class ChromeDownloadManagerDelegate
public:
explicit ChromeDownloadManagerDelegate(Profile* profile);
- static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
-
// Should be called before the first call to ShouldCompleteDownload() to
// disable SafeBrowsing checks for |item|.
static void DisableSafeBrowsing(content::DownloadItem* item);
@@ -92,10 +90,6 @@ class ChromeDownloadManagerDelegate
content::DownloadItem* download,
const content::CheckForFileExistenceCallback& callback) OVERRIDE;
- // Clears the last directory chosen by the user in response to a file chooser
- // prompt. Called when clearing recent history.
- void ClearLastDownloadPath();
-
DownloadPrefs* download_prefs() { return download_prefs_.get(); }
protected:
@@ -170,10 +164,6 @@ class ChromeDownloadManagerDelegate
content::NotificationRegistrar registrar_;
- // The directory most recently chosen by the user in response to a Save As
- // dialog for a regular download.
- base::FilePath last_download_path_;
-
DISALLOW_COPY_AND_ASSIGN(ChromeDownloadManagerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698