| Index: tools/metrics/histograms/histograms.xml
|
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
|
| index 27833e42a6dee3cd856ca2d5b70abcecc97b8d2e..54110889d9936554d1d8d35bbefbe34b3be272a0 100644
|
| --- a/tools/metrics/histograms/histograms.xml
|
| +++ b/tools/metrics/histograms/histograms.xml
|
| @@ -46627,6 +46627,32 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
| </summary>
|
| </histogram>
|
|
|
| +<histogram name="SafeBrowsing.V4StoreReadResult"
|
| + enum="SafeBrowsingStoreReadResult">
|
| + <owner>vakh@chromium.org</owner>
|
| + <summary>
|
| + Track the parsing results of reading the SafeBrowsing V4 store file from
|
| + disk. Recorded every time a store is read from disk.
|
| + </summary>
|
| +</histogram>
|
| +
|
| +<histogram name="SafeBrowsing.V4StoreVersionRead" units="version number">
|
| + <owner>vakh@chromium.org</owner>
|
| + <summary>
|
| + Version of V4Store read from a store file. This would be useful in tracking
|
| + the usage and rollout of new V4Store versions.
|
| + </summary>
|
| +</histogram>
|
| +
|
| +<histogram name="SafeBrowsing.V4StoreWriteResult"
|
| + enum="SafeBrowsingStoreWriteResult">
|
| + <owner>vakh@chromium.org</owner>
|
| + <summary>
|
| + Track the results of writing the SafeBrowsing V4 store file to disk.
|
| + Recorded every time a store is written to disk.
|
| + </summary>
|
| +</histogram>
|
| +
|
| <histogram name="SafeBrowsing.V4UpdateHttpResponseOrErrorCode"
|
| enum="CombinedHttpResponseAndNetErrorCode">
|
| <owner>vakh@chromium.org</owner>
|
| @@ -87544,6 +87570,25 @@ To add a new entry, add it with any value and run test to compute valid value.
|
| <int value="4" label="NO_STATE_ERROR"/>
|
| </enum>
|
|
|
| +<enum name="SafeBrowsingStoreReadResult" type="int">
|
| + <int value="0" label="READ_SUCCESS"/>
|
| + <int value="1" label="UNEXPECTED_READ_FAILURE"/>
|
| + <int value="2" label="FILE_UNREADABLE_FAILURE"/>
|
| + <int value="3" label="FILE_EMPTY_FAILURE"/>
|
| + <int value="4" label="PROTO_PARSING_FAILURE"/>
|
| + <int value="5" label="UNEXPECTED_MAGIC_NUMBER_FAILURE"/>
|
| + <int value="6" label="FILE_VERSION_TOO_LOW_FAILURE"/>
|
| + <int value="7" label="HASH_PREFIX_INFO_MISSING_FAILURE"/>
|
| +</enum>
|
| +
|
| +<enum name="SafeBrowsingStoreWriteResult" type="int">
|
| + <int value="0" label="WRITE_SUCCESS"/>
|
| + <int value="1" label="UNEXPECTED_WRITE_FAILURE"/>
|
| + <int value="2" label="INVALID_RESPONSE_TYPE_FAILURE"/>
|
| + <int value="3" label="UNEXPECTED_BYTES_WRITTEN_FAILURE"/>
|
| + <int value="4" label="UNABLE_TO_RENAME_FAILURE"/>
|
| +</enum>
|
| +
|
| <enum name="SafeBrowsingV4OperationResult" type="int">
|
| <int value="0" label="STATUS_200"/>
|
| <int value="1" label="PARSE_ERROR (subset of STATUS_200)"/>
|
|
|