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

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

Issue 353015: Last patch in removing MessageLoop* caching. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/browser_process_impl.cc ('k') | chrome/browser/download/download_request_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_request_manager.h
===================================================================
--- chrome/browser/download/download_request_manager.h (revision 30863)
+++ chrome/browser/download/download_request_manager.h (working copy)
@@ -14,7 +14,6 @@
#include "chrome/common/notification_registrar.h"
class DownloadRequestInfoBarDelegate;
-class MessageLoop;
class NavigationController;
class TabContents;
@@ -148,7 +147,7 @@
DISALLOW_COPY_AND_ASSIGN(TabDownloadState);
};
- DownloadRequestManager(MessageLoop* io_loop, MessageLoop* ui_loop);
+ DownloadRequestManager();
~DownloadRequestManager();
// Returns the download status for a page. This does not change the state in
@@ -215,11 +214,6 @@
// ALLOW_ONE_DOWNLOAD.
void Remove(TabDownloadState* state);
- // Two threads we use. NULL during testing, in which case messages are
- // dispatched immediately.
- MessageLoop* io_loop_;
- MessageLoop* ui_loop_;
-
// Maps from tab to download state. The download state for a tab only exists
// if the state is other than ALLOW_ONE_DOWNLOAD. Similarly once the state
// transitions from anything but ALLOW_ONE_DOWNLOAD back to ALLOW_ONE_DOWNLOAD
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/download/download_request_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698