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

Unified Diff: net/disk_cache/simple/simple_synchronous_entry.cc

Issue 2469133003: Fix some UMA enum type mismatches (Closed)
Patch Set: Created 4 years, 1 month 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 | « chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_synchronous_entry.cc
diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc
index 24bc3b1b2f05d2b6cd97eac35cb7e4ca41615818..aac3d1143a32ef540a43eedc656cfdab2e02fe3c 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.cc
+++ b/net/disk_cache/simple/simple_synchronous_entry.cc
@@ -73,6 +73,7 @@ enum CheckEOFResult {
enum CloseResult {
CLOSE_RESULT_SUCCESS,
CLOSE_RESULT_WRITE_FAILURE,
+ CLOSE_RESULT_MAX,
};
// Used in histograms, please only add entries at the end.
@@ -108,7 +109,7 @@ void RecordCheckEOFResult(net::CacheType cache_type, CheckEOFResult result) {
void RecordCloseResult(net::CacheType cache_type, CloseResult result) {
SIMPLE_CACHE_UMA(ENUMERATION,
- "SyncCloseResult", cache_type, result, WRITE_RESULT_MAX);
+ "SyncCloseResult", cache_type, result, CLOSE_RESULT_MAX);
}
void RecordKeySHA256Result(net::CacheType cache_type, KeySHA256Result result) {
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698