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

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

Issue 319603003: [Downloads] Retry renames after transient failures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tests Created 6 years, 6 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_stats.h
diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
index 65fad8d6b4a598c3b65c60b54cb039422d98629c..9faf69c6e5ed8386f7a3bbb3eb24c84ab99bd05f 100644
--- a/content/browser/download/download_stats.h
+++ b/content/browser/download/download_stats.h
@@ -200,6 +200,11 @@ void RecordFileBandwidth(size_t length,
base::TimeDelta disk_write_time,
base::TimeDelta elapsed_time);
+// Record the result of a download file rename.
Randy Smith (Not in Mondays) 2014/06/10 19:22:02 I think there should probably be some doc in this
asanka 2014/06/10 22:36:21 Yeah. I changed the call stack and the arguments.
+void RecordDownloadFileRenameResult(
+ base::TimeTicks time_of_first_failure,
+ DownloadInterruptReason interrupt_reason);
+
enum SavePackageEvent {
// The user has started to save a page as a package.
SAVE_PACKAGE_STARTED,

Powered by Google App Engine
This is Rietveld 408576698