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

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: @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
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 6b6db88ba562f5694c857be38841df70467c4a81..d82fbcd5754bee1172f4a124c3e658d59bc39351 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:
@@ -133,11 +127,6 @@ class ChromeDownloadManagerDelegate
const base::FilePath& suggested_virtual_path,
const CheckDownloadUrlCallback& callback) OVERRIDE;
- // Callback invoked by the DownloadFilePicker after PromptUserForDownloadPath.
- void OnDownloadPathSelected(
- const DownloadTargetDeterminerDelegate::FileSelectedCallback& callback,
- const base::FilePath& virtual_path);
-
private:
friend class base::RefCountedThreadSafe<ChromeDownloadManagerDelegate>;
@@ -170,10 +159,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);
};
« no previous file with comments | « chrome/browser/chromeos/preferences_unittest.cc ('k') | chrome/browser/download/chrome_download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698