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

Unified Diff: trunk/src/content/browser/download/download_stats.cc

Issue 342233002: Revert 278483 "[Downloads] Retry renames after transient failures." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/content/browser/download/download_stats.cc
===================================================================
--- trunk/src/content/browser/download/download_stats.cc (revision 278536)
+++ trunk/src/content/browser/download/download_stats.cc (working copy)
@@ -611,18 +611,6 @@
disk_write_time_ms * 100 / elapsed_time_ms);
}
-void RecordDownloadFileRenameResultAfterRetry(
- base::TimeDelta time_since_first_failure,
- DownloadInterruptReason interrupt_reason) {
- if (interrupt_reason == DOWNLOAD_INTERRUPT_REASON_NONE) {
- UMA_HISTOGRAM_TIMES("Download.TimeToRenameSuccessAfterInitialFailure",
- time_since_first_failure);
- } else {
- UMA_HISTOGRAM_TIMES("Download.TimeToRenameFailureAfterInitialFailure",
- time_since_first_failure);
- }
-}
-
void RecordSavePackageEvent(SavePackageEvent event) {
UMA_HISTOGRAM_ENUMERATION("Download.SavePackage",
event,

Powered by Google App Engine
This is Rietveld 408576698