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

Unified Diff: chrome/browser/profiles/profile_impl.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/profile.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index c4cfebfc7fdfca4c89d80e84c4a1151792947bac..f8984e321d7913e45362d446203df2f7fde7769c 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -18,7 +18,6 @@
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
-class ChromeDownloadManagerDelegate;
class ExtensionNavigationObserver;
class ExtensionPrefs;
class ExtensionPrefValueMap;
@@ -48,7 +47,6 @@ class ProfileImpl : public Profile,
virtual FilePath GetPath() OVERRIDE;
virtual SSLHostState* GetSSLHostState() OVERRIDE;
virtual DownloadManager* GetDownloadManager() OVERRIDE;
- virtual bool HasCreatedDownloadManager() const OVERRIDE;
virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
int renderer_child_id) OVERRIDE;
@@ -184,9 +182,6 @@ class ProfileImpl : public Profile,
SpellCheckProfile* GetSpellCheckProfile();
- virtual void SetDownloadManagerDelegate(
- ChromeDownloadManagerDelegate* delegate);
-
NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
@@ -234,8 +229,6 @@ class ProfileImpl : public Profile,
scoped_refptr<SpeechInputPreferences> speech_input_preferences_;
scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
scoped_ptr<FindBarState> find_bar_state_;
- scoped_refptr<ChromeDownloadManagerDelegate> download_manager_delegate_;
- scoped_refptr<DownloadManager> download_manager_;
scoped_refptr<HistoryService> history_service_;
scoped_ptr<FaviconService> favicon_service_;
scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
@@ -249,7 +242,6 @@ class ProfileImpl : public Profile,
bool favicon_service_created_;
bool created_web_data_service_;
bool created_password_store_;
- bool created_download_manager_;
bool clear_local_state_on_exit_;
// Whether or not the last session exited cleanly. This is set only once.
bool last_session_exited_cleanly_;
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698