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

Unified Diff: tools/metrics/actions/extract_actions.py

Issue 151003004: Add an automatic settings reset banner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of transaction patch. Created 6 years, 10 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/actions/chromeactions.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/actions/extract_actions.py
diff --git a/tools/metrics/actions/extract_actions.py b/tools/metrics/actions/extract_actions.py
index 84ddbdb084ffdd7f3afab0523ef02fae8aa5c5ee..ed85932b364064ade96f306a7a9672bc6c3c167b 100755
--- a/tools/metrics/actions/extract_actions.py
+++ b/tools/metrics/actions/extract_actions.py
@@ -557,16 +557,24 @@ def AddKeySystemSupportActions(actions):
actions.add('KeySystemSupport.WidevineWithType.Supported')
def AddAutomaticResetBannerActions(actions):
- """Add actions that are used for the automatic profile settings reset banner
+ """Add actions that are used for the automatic profile settings reset banners
in chrome://settings.
Arguments
actions: set of actions to add to.
"""
+ # These actions relate to the the automatic settings reset banner shown as
+ # a result of the reset prompt.
actions.add('AutomaticReset_WebUIBanner_BannerShown')
actions.add('AutomaticReset_WebUIBanner_ManuallyClosed')
actions.add('AutomaticReset_WebUIBanner_ResetClicked')
+ # These actions relate to the the automatic settings reset banner shown as
+ # a result of settings hardening.
+ actions.add('AutomaticSettingsReset_WebUIBanner_BannerShown')
+ actions.add('AutomaticSettingsReset_WebUIBanner_ManuallyClosed')
+ actions.add('AutomaticSettingsReset_WebUIBanner_LearnMoreClicked')
+
def main(argv):
if '--hash' in argv:
hash_output = True
« no previous file with comments | « tools/metrics/actions/chromeactions.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698