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

Unified Diff: chrome/browser/safe_browsing/srt_fetcher_win.cc

Issue 2593783002: Report FoundUwSReadError only once per Software Reporter run. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/srt_fetcher_win.cc
diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.cc b/chrome/browser/safe_browsing/srt_fetcher_win.cc
index 50cbfe602cd4a28dd056d077646781c4222fee01..5f176dd9af85608a1da656bbf3447e6cfe4036b9 100644
--- a/chrome/browser/safe_browsing/srt_fetcher_win.cc
+++ b/chrome/browser/safe_browsing/srt_fetcher_win.cc
@@ -272,12 +272,11 @@ class UMAHistogramReporter {
} else {
parse_error = true;
}
-
- // Clean up the old value.
- reporter_key.DeleteValue(kFoundUwsValueName);
-
- RecordBooleanHistogram(kFoundUwsReadErrorMetricName, parse_error);
}
+
+ // Clean up the old value.
+ reporter_key.DeleteValue(kFoundUwsValueName);
+ RecordBooleanHistogram(kFoundUwsReadErrorMetricName, parse_error);
}
// Reports to UMA the memory usage of the software reporter tool as reported
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698