Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: tools/metrics/histograms/update_bad_message_reasons.py

Issue 1212163007: Kill renderers for bad password forms in --site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/update_bad_message_reasons.py
diff --git a/tools/metrics/histograms/update_bad_message_reasons.py b/tools/metrics/histograms/update_bad_message_reasons.py
index eaf761f6a29d21c709d381335aa2f229e67c937e..01db78f100ae63706e85b3332544db76cd50ddba 100644
--- a/tools/metrics/histograms/update_bad_message_reasons.py
+++ b/tools/metrics/histograms/update_bad_message_reasons.py
@@ -22,11 +22,13 @@ if __name__ == '__main__':
'chrome/browser/bad_message.h': 'BadMessageReasonChrome',
'content/browser/bad_message.h': 'BadMessageReasonContent',
'components/nacl/browser/bad_message.h': 'BadMessageReasonNaCl',
+ 'components/password_manager/content/browser/bad_message.h':
+ 'BadMessageReasonPasswordManager',
'extensions/browser/bad_message.h': 'BadMessageReasonExtensions',
}
for header_file, histogram_name in histograms.items():
UpdateHistogramEnum(histogram_enum_name=histogram_name,
source_enum_path=header_file,
- start_marker='^enum BadMessageReason {',
- end_marker='^BAD_MESSAGE_MAX')
+ start_marker='^enum (class )?BadMessageReason {',
+ end_marker='^BAD_MESSAGE_MAX')
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698