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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 7660007: Factor out dependncy on download throttling from core download code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 96872)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -97,6 +97,7 @@
virtual const std::string& GetApplicationLocale();
virtual void SetApplicationLocale(const std::string& locale);
virtual DownloadStatusUpdater* download_status_updater();
+ virtual DownloadRequestLimiter* download_request_limiter();
virtual TabCloseableStateWatcher* tab_closeable_state_watcher();
virtual BackgroundModeManager* background_mode_manager();
virtual StatusTray* status_tray();
@@ -282,6 +283,8 @@
// so we don't have to worry about lazy initialization.
DownloadStatusUpdater download_status_updater_;
+ scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
+
// Ensures that the observers of plugin/print disable/enable state
// notifications are properly added and removed.
PrefChangeRegistrar pref_change_registrar_;

Powered by Google App Engine
This is Rietveld 408576698