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

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: Incorporated latest rounds of comments from John. 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
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index ee1c908c0f7d3288b23e2570b79eae262d1231b8..2e74136236495be6d042c4aba919fd99d9f2e99c 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -50,7 +50,6 @@ class Predictor;
class AutocompleteClassifier;
class BookmarkModel;
class ChromeAppCacheService;
-class ChromeDownloadManagerDelegate;
class ChromeURLDataManager;
class Extension;
class ExtensionDevToolsManager;
@@ -187,7 +186,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;
@@ -536,13 +534,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.
//
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698