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

Unified Diff: chrome/browser/download/download_prefs.h

Issue 8817005: Revert 113007 - DownloadManager intereface refactoring to allow cleaner DownloadItem unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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_item_unittest.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
===================================================================
--- chrome/browser/download/download_prefs.h (revision 113083)
+++ chrome/browser/download/download_prefs.h (working copy)
@@ -14,10 +14,6 @@
class DownloadManager;
class PrefService;
-namespace content {
-class BrowserContext;
-}
-
// Stores all download-related preferences.
class DownloadPrefs {
public:
@@ -26,11 +22,8 @@
static void RegisterUserPrefs(PrefService* prefs);
- // Returns the DownloadPrefs corresponding to the given DownloadManager
- // or BrowserContext.
+ // Returns the DownloadPrefs corresponding to the given DownloadManager.
static DownloadPrefs* FromDownloadManager(DownloadManager* download_manager);
- static DownloadPrefs* FromBrowserContext(
- content::BrowserContext* browser_context);
FilePath download_path() const { return *download_path_; }
int save_file_type() const { return *save_file_type_; }
Property changes on: chrome/browser/download/download_prefs.h
___________________________________________________________________
Deleted: svn:eol-style
- LF
« no previous file with comments | « chrome/browser/download/download_item_unittest.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698