Commit f5dccdcb authored by tnagel's avatar tnagel Committed by Commit bot

Mark as unused the "Closing" UMA entry in ImportantFile.TempFileFailures.

BUG=none

Review URL: https://codereview.chromium.org/689673002

Cr-Commit-Position: refs/heads/master@{#308341}
parent 01d84d33
...@@ -27,10 +27,14 @@ namespace { ...@@ -27,10 +27,14 @@ namespace {
const int kDefaultCommitIntervalMs = 10000; const int kDefaultCommitIntervalMs = 10000;
// This enum is used to define the buckets for an enumerated UMA histogram.
// Hence,
// (a) existing enumerated constants should never be deleted or reordered, and
// (b) new constants should only be appended at the end of the enumeration.
enum TempFileFailure { enum TempFileFailure {
FAILED_CREATING, FAILED_CREATING,
FAILED_OPENING, FAILED_OPENING,
FAILED_CLOSING, FAILED_CLOSING, // Unused.
FAILED_WRITING, FAILED_WRITING,
FAILED_RENAMING, FAILED_RENAMING,
FAILED_FLUSHING, FAILED_FLUSHING,
......
...@@ -56928,7 +56928,7 @@ To add a new entry, add it with any value and run test to compute valid value. ...@@ -56928,7 +56928,7 @@ To add a new entry, add it with any value and run test to compute valid value.
<enum name="TempFileFailure" type="int"> <enum name="TempFileFailure" type="int">
<int value="0" label="Creating"/> <int value="0" label="Creating"/>
<int value="1" label="Opening"/> <int value="1" label="Opening"/>
<int value="2" label="Closing"/> <int value="2" label="Closing (unused)"/>
<int value="3" label="Writing"/> <int value="3" label="Writing"/>
<int value="4" label="Renaming"/> <int value="4" label="Renaming"/>
<int value="5" label="Flushing"/> <int value="5" label="Flushing"/>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment