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

Unified Diff: content/browser/download/download_manager_impl.h

Issue 10263019: DownloadManagerDelegate::ShouldCompleteDownload(callback) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge Created 8 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: content/browser/download/download_manager_impl.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index bc1cc1b174c534d2c943290b6df3e475389f0a33..645ca47a4db4788e44fe69be8c3cacaa1b3889a3 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -125,6 +125,9 @@ class CONTENT_EXPORT DownloadManagerImpl
virtual ~DownloadManagerImpl();
+ // Does nothing if |download_id| is not an active download.
+ void MaybeCompleteDownloadById(int download_id);
+
// Determine if the download is ready for completion, i.e. has had
// all data saved, and completed the filename determination and
// history insertion.

Powered by Google App Engine
This is Rietveld 408576698