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

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

Issue 7112011: Change DownloadProcessHandle to be more of an encapsulated class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of cancel code in download_util. Created 9 years, 7 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/download/download_manager.h
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
index 79018bec672195496af041f0f6dbaff25c8d91de..e4f7bb1eddfb8de96e5775155dc203c2f4ab5689 100644
--- a/chrome/browser/download/download_manager.h
+++ b/chrome/browser/download/download_manager.h
@@ -124,7 +124,6 @@ class DownloadManager
// Called from a view when a user clicks a UI button or link.
void DownloadCancelled(int32 download_id);
- void PauseDownload(int32 download_id, bool pause);
void RemoveDownload(int64 download_handle);
// Determine if the download is ready for completion, i.e. has had
@@ -315,14 +314,6 @@ class DownloadManager
// Updates the app icon about the overall download progress.
void UpdateAppIcon();
- // Makes the ResourceDispatcherHost pause/un-pause a download request.
- // Called on the IO thread.
- // |process_handle| is passed by value because this is called from other
- // threads, and this way we don't have to worry about object lifetimes.
- void PauseDownloadRequest(ResourceDispatcherHost* rdh,
- DownloadProcessHandle process_handle,
- bool pause);
-
// Inform observers that the model has changed.
void NotifyModelChanged();

Powered by Google App Engine
This is Rietveld 408576698