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

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

Issue 8414007: Rearrange Should*Download delegate calls to be more useful and intuitive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to TOT. Created 9 years, 2 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_item.h
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h
index 9b7cb804ffe17e47f24aab615ab31823c438ab18..0051a44db36a40e675b86ec15c98652831ab76f2 100644
--- a/content/browser/download/download_item.h
+++ b/content/browser/download/download_item.h
@@ -176,9 +176,9 @@ class CONTENT_EXPORT DownloadItem {
// to display progress when the DownloadItem should be considered complete.
void MarkAsComplete();
- // Called by the delegate after it delayed completing the download in
- // DownloadManagerDelegate::ShouldCompleteDownload.
- void CompleteDelayedDownload();
+ // Called by the delegate after it delayed opening the download in
+ // DownloadManagerDelegate::ShouldOpenDownload.
+ void DelayedDownloadOpened();
// Called when all data has been saved. Only has display effects.
void OnAllDataSaved(int64 size);
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.cc ('k') | content/browser/download/download_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698