Commit ee45bf44 authored by creis's avatar creis Committed by Commit bot

Update histograms.xml for recent BadMessage values.

BUG=486916
TEST=Histogram properly labeled

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

Cr-Commit-Position: refs/heads/master@{#329439}
parent 7745012e
...@@ -18,28 +18,28 @@ namespace bad_message { ...@@ -18,28 +18,28 @@ namespace bad_message {
// //
// NOTE: Do not remove or reorder elements in this list. Add new entries at the // NOTE: Do not remove or reorder elements in this list. Add new entries at the
// end. Items may be renamed but do not change the values. We rely on the enum // end. Items may be renamed but do not change the values. We rely on the enum
// values in histograms. // values in histograms. Also update histograms.xml with any new values.
enum BadMessageReason { enum BadMessageReason {
NC_IN_PAGE_NAVIGATION = 0, NC_IN_PAGE_NAVIGATION = 0,
RFH_CAN_COMMIT_URL_BLOCKED, RFH_CAN_COMMIT_URL_BLOCKED = 1,
RFH_CAN_ACCESS_FILES_OF_PAGE_STATE, RFH_CAN_ACCESS_FILES_OF_PAGE_STATE = 2,
RFH_SANDBOX_FLAGS, RFH_SANDBOX_FLAGS = 3,
RFH_NO_PROXY_TO_PARENT, RFH_NO_PROXY_TO_PARENT = 4,
RPH_DESERIALIZATION_FAILED, RPH_DESERIALIZATION_FAILED = 5,
RVH_CAN_ACCESS_FILES_OF_PAGE_STATE, RVH_CAN_ACCESS_FILES_OF_PAGE_STATE = 6,
RVH_FILE_CHOOSER_PATH, RVH_FILE_CHOOSER_PATH = 7,
RWH_SYNTHETIC_GESTURE, RWH_SYNTHETIC_GESTURE = 8,
RWH_FOCUS, RWH_FOCUS = 9,
RWH_BLUR, RWH_BLUR = 10,
RWH_SHARED_BITMAP, RWH_SHARED_BITMAP = 11,
RWH_BAD_ACK_MESSAGE, RWH_BAD_ACK_MESSAGE = 12,
RWHVA_SHARED_MEMORY, RWHVA_SHARED_MEMORY = 13,
SERVICE_WORKER_BAD_URL, SERVICE_WORKER_BAD_URL = 14,
WC_INVALID_FRAME_SOURCE, WC_INVALID_FRAME_SOURCE = 15,
RWHVM_UNEXPECTED_FRAME_TYPE, RWHVM_UNEXPECTED_FRAME_TYPE = 16,
RFPH_DETACH, RFPH_DETACH = 17,
DFH_BAD_EMBEDDER_MESSAGE, DFH_BAD_EMBEDDER_MESSAGE = 18,
NC_AUTO_SUBFRAME, NC_AUTO_SUBFRAME = 19,
// Please add new elements here. The naming convention is abbreviated class // Please add new elements here. The naming convention is abbreviated class
// name (e.g. RenderFrameHost becomes RFH) plus a unique description of the // name (e.g. RenderFrameHost becomes RFH) plus a unique description of the
// reason. // reason.
......
...@@ -19,12 +19,12 @@ namespace bad_message { ...@@ -19,12 +19,12 @@ namespace bad_message {
// //
// NOTE: Do not remove or reorder elements in this list. Add new entries at the // NOTE: Do not remove or reorder elements in this list. Add new entries at the
// end. Items may be renamed but do not change the values. We rely on the enum // end. Items may be renamed but do not change the values. We rely on the enum
// values in histograms. // values in histograms. Also update histograms.xml with any new values.
enum BadMessageReason { enum BadMessageReason {
EOG_BAD_ORIGIN = 0, EOG_BAD_ORIGIN = 0,
EVG_BAD_ORIGIN, EVG_BAD_ORIGIN = 1,
BH_BLOB_NOT_OWNED, BH_BLOB_NOT_OWNED = 2,
EH_BAD_EVENT_ID, EH_BAD_EVENT_ID = 3,
// Please add new elements here. The naming convention is abbreviated class // Please add new elements here. The naming convention is abbreviated class
// name (e.g. ExtensionHost becomes EH) plus a unique description of the // name (e.g. ExtensionHost becomes EH) plus a unique description of the
// reason. // reason.
......
...@@ -47602,7 +47602,9 @@ Therefore, the affected-histogram name has to have at least one dot in it. ...@@ -47602,7 +47602,9 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="14" label="SERVICE_WORKER_BAD_URL"/> <int value="14" label="SERVICE_WORKER_BAD_URL"/>
<int value="15" label="WC_INVALID_FRAME_SOURCE"/> <int value="15" label="WC_INVALID_FRAME_SOURCE"/>
<int value="16" label="RWHVM_UNEXPECTED_FRAME_TYPE"/> <int value="16" label="RWHVM_UNEXPECTED_FRAME_TYPE"/>
<int value="17" label="DFH_BAD_EMBEDDER_MESSAGE"/> <int value="17" label="RFPH_DETACH"/>
<int value="18" label="DFH_BAD_EMBEDDER_MESSAGE"/>
<int value="19" label="NC_AUTO_SUBFRAME"/>
</enum> </enum>
<enum name="BadMessageReasonExtensions" type="int"> <enum name="BadMessageReasonExtensions" 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