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

Unified Diff: chrome/browser/profiles/profile.h

Issue 8135017: Refactor downloads into a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR to run try bots. Created 9 years, 2 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/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 8c3b742b77919ac3a69f2f65e8a29d571ec11e3b..00510952d43793aa18845ae608d9a3fa2ad733b2 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -54,7 +54,6 @@ class Predictor;
class AutocompleteClassifier;
class BookmarkModel;
class ChromeAppCacheService;
-class ChromeDownloadManagerDelegate;
class ChromeURLDataManager;
class Extension;
class ExtensionDevToolsManager;
@@ -191,7 +190,6 @@ class Profile : public content::BrowserContext {
virtual FilePath GetPath() = 0;
virtual SSLHostState* GetSSLHostState() = 0;
virtual DownloadManager* GetDownloadManager() = 0;
- virtual bool HasCreatedDownloadManager() const = 0;
virtual net::URLRequestContextGetter* GetRequestContext() = 0;
virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
int renderer_child_id) = 0;
@@ -544,13 +542,6 @@ class Profile : public content::BrowserContext {
static net::URLRequestContextGetter* default_request_context_;
private:
- friend class DownloadTest;
-
- // Allow replacement of the download manager delegate, for interposition
- // on browser tests. Note that this takes ownership of |delegate|.
- virtual void SetDownloadManagerDelegate(
- ChromeDownloadManagerDelegate* delegate) = 0;
-
// ***DEPRECATED**: You should be passing in the specific profile's
// URLRequestContextGetter or using the system URLRequestContextGetter.
//

Powered by Google App Engine
This is Rietveld 408576698