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

Unified Diff: content/public/browser/download_item.h

Issue 10263019: DownloadManagerDelegate::ShouldCompleteDownload(callback) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: complete_callback is the droids you're looking for. Created 8 years, 8 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/public/browser/download_item.h
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
index cdabae8f31eaf0368ee061d4fcba105949346401..e07444a87f5c638ebd1d0ce8832ae397619d33ff 100644
--- a/content/public/browser/download_item.h
+++ b/content/public/browser/download_item.h
@@ -171,12 +171,6 @@ class CONTENT_EXPORT DownloadItem {
// Called when the downloaded file is removed.
virtual void OnDownloadedFileRemoved() = 0;
- // If all pre-requisites have been met, complete download processing, i.e.
- // do internal cleanup, file rename, and potentially auto-open.
- // (Dangerous downloads still may block on user acceptance after this
- // point.)
- virtual void MaybeCompleteDownload() = 0;
-
// Download operation had an error.
// |size| is the amount of data received at interruption.
// |hash_state| is the current hash state at interruption.

Powered by Google App Engine
This is Rietveld 408576698