Index: tools/metrics/actions/extract_actions.py |
=================================================================== |
--- tools/metrics/actions/extract_actions.py (revision 270662) |
+++ tools/metrics/actions/extract_actions.py (working copy) |
@@ -67,6 +67,7 @@ |
'ppb_pdf_impl.cc', # see AddClosedSourceActions() |
'pepper_pdf_host.cc', # see AddClosedSourceActions() |
'key_systems_support_uma.cc', # See AddKeySystemSupportActions() |
+ 'browser_child_process_host_impl.cc', # See AddBadMessageActions() |
) |
# Language codes used in Chrome. The list should be updated when a new |
@@ -602,7 +603,24 @@ |
actions.add('AutomaticSettingsReset_WebUIBanner_ManuallyClosed') |
actions.add('AutomaticSettingsReset_WebUIBanner_LearnMoreClicked') |
+def AddBadMessageActions(actions): |
+ """Add actions that are used when terminating a child process that sent an IPC |
+ which couldn't be deserialized. |
+ Arguments |
+ actions: set of actions to add to. |
+ """ |
+ actions.add('BadMessageTerminate_Plug-in') |
+ actions.add('BadMessageTerminate_WebWorker') |
+ actions.add('BadMessageTerminate_Utility') |
+ actions.add('BadMessageTerminate_Zygote') |
+ actions.add('BadMessageTerminate_Sandboxhelper') |
+ actions.add('BadMessageTerminate_GPU') |
+ actions.add('BadMessageTerminate_PepperPlugin') |
+ actions.add('BadMessageTerminate_PepperPluginBroker') |
+ actions.add('BadMessageTerminate_NativeClientmodule') |
+ actions.add('BadMessageTerminate_NativeClientbroker') |
+ |
class Error(Exception): |
pass |
@@ -808,6 +826,7 @@ |
AddExtensionActions(actions) |
AddHistoryPageActions(actions) |
AddKeySystemSupportActions(actions) |
+ AddBadMessageActions(actions) |
pretty = PrettyPrint(actions, actions_dict, comment_nodes) |
if original_xml == pretty: |