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

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

Issue 8008021: Add new UMA stats to get a handle on Downloads UI Usage (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: comments Created 9 years, 3 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.h
diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h
index 4a8c4a0686a44878e84c590dfe70c490154f3929..2a39f7441485060736db86dd2dbda250c369273e 100644
--- a/content/browser/download/download_manager.h
+++ b/content/browser/download/download_manager.h
@@ -263,6 +263,9 @@ class CONTENT_EXPORT DownloadManager
// DownloadManagerDelegate::ShouldStartDownload and now is ready.
void RestartDownload(int32 download_id);
+ // Mark the download opened in the persistent store.
+ void MarkDownloadOpened(DownloadItem* download);
Randy Smith (Not in Mondays) 2011/09/28 19:41:55 I thought this was being removed?
benjhayden 2011/09/28 20:29:39 I removed DownloadDatabase::MarkDownloadRemoved an
Randy Smith (Not in Mondays) 2011/09/30 15:57:21 Hmmm. Ok. From a pure functionality approach, I'
benjhayden 2011/10/03 20:54:39 The DI could implement RecordOpensOutstanding() in
Randy Smith (Not in Mondays) 2011/10/04 18:34:31 Agreed.
+
// Checks whether downloaded files still exist. Updates state of downloads
// that refer to removed files. The check runs in the background and may
// finish asynchronously after this method returns.

Powered by Google App Engine
This is Rietveld 408576698