Commit b5852fe4 authored by falken's avatar falken Committed by Commit bot

histograms: Add ESWMF_INVALID_DECREMENT_ACTIVITY bad message reason

Generated by tools/metrics/histograms/update_bad_message_reasons.py
This reason was added in https://crrev.com/4c82177a8b45303c941ddbc469444f0bfc760de4
Also fix typo.

BUG=602442

Review-Url: https://chromiumcodereview.appspot.com/2429283004
Cr-Commit-Position: refs/heads/master@{#426554}
parent 884c98b0
......@@ -30,7 +30,7 @@ enum BadMessageReason {
AVG_BAD_EXT_ID = 5,
AVG_NULL_AVG = 6,
// Invalid decrement of an Extensions SW ref count.
ESWMF_INVALID_DECREMENT_ACTIVIY = 7,
ESWMF_INVALID_DECREMENT_ACTIVITY = 7,
// Please add new elements here. The naming convention is abbreviated class
// name (e.g. ExtensionHost becomes EH) plus a unique description of the
// reason. After making changes, you MUST update histograms.xml by running:
......
......@@ -71,7 +71,7 @@ void ExtensionServiceWorkerMessageFilter::OnDecrementServiceWorkerActivity(
service_worker_version_id, request_uuid);
if (!status) {
bad_message::ReceivedBadMessage(
this, bad_message::ESWMF_INVALID_DECREMENT_ACTIVIY);
this, bad_message::ESWMF_INVALID_DECREMENT_ACTIVITY);
}
}
......
......@@ -73861,6 +73861,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="4" label="AVG_BAD_INST_ID"/>
<int value="5" label="AVG_BAD_EXT_ID"/>
<int value="6" label="AVG_NULL_AVG"/>
<int value="7" label="ESWMF_INVALID_DECREMENT_ACTIVITY"/>
</enum>
<enum name="BadMessageReasonNaCl" type="int">
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