diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 21:54:39 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 21:54:39 +0000 |
commit | ee2a79e9ed2339cb9548c43ae471b05d6418f2a7 (patch) | |
tree | 09a7e15a9dfe21277b8893f7fdb9ee6e71b973f2 /chrome/tools | |
parent | 89fb65a6f0f1b6981c26c9b9d05a02332f6ec6d7 (diff) | |
download | chromium_src-ee2a79e9ed2339cb9548c43ae471b05d6418f2a7.zip chromium_src-ee2a79e9ed2339cb9548c43ae471b05d6418f2a7.tar.gz chromium_src-ee2a79e9ed2339cb9548c43ae471b05d6418f2a7.tar.bz2 |
o Update the mapping of action hashes to their appropriate identifiers.
o Update user_metrics.h to be more explicit about how to add metrics.
o Update the some BookmarkBar metrics to fit on one line as is required by the script.
BUG=59606
TEST=none
Review URL: http://codereview.chromium.org/3815011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r-- | chrome/tools/chromeactions.txt | 2 | ||||
-rwxr-xr-x | chrome/tools/extract_actions.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/chrome/tools/chromeactions.txt b/chrome/tools/chromeactions.txt index e7d570a..70bcde6 100644 --- a/chrome/tools/chromeactions.txt +++ b/chrome/tools/chromeactions.txt @@ -50,6 +50,7 @@ 0xd80cc9291c9c82a9 BlockNonsandboxedPlugins_Enable 0x114c3050111d8b8d Bold 0x3012b56b98c28823 BookmarkBarFolder_DragEnd +0xe71c0ba72ca2f331 BookmarkBarFolder_DragStart 0x4213d5e4d5da1c0a BookmarkBar_ContextMenu_Add 0x1ce97170a30f2fdd BookmarkBar_ContextMenu_Edit 0xbe267767bb380a0d BookmarkBar_ContextMenu_NewFolder @@ -66,6 +67,7 @@ 0x4b37738130b32b3e BookmarkBar_DragEnd 0x6c0fc567d362960e BookmarkBar_DragFromFolder 0xeec5d4ade759d651 BookmarkBar_DragRecentlyBookmarked +0xeffa5b8ce7f96fd9 BookmarkBar_DragStart 0x949073bf8996b6c8 BookmarkBar_ShowOtherBookmarks 0xef415d0bbf795b32 BookmarkBar_ShowRecentlyBookmarked 0xd4d041fb05dcaebf BookmarkBubble_ChangeParent diff --git a/chrome/tools/extract_actions.py b/chrome/tools/extract_actions.py index 3cb846f..a232449 100755 --- a/chrome/tools/extract_actions.py +++ b/chrome/tools/extract_actions.py @@ -160,7 +160,7 @@ def GrepForActions(path, actions): """ global number_of_files_total number_of_files_total = number_of_files_total + 1 - # we look for the UserMetricsAction structur constructor + # we look for the UserMetricsAction structure constructor # this should be on one line action_re = re.compile(r'UserMetricsAction\("([^"]*)') computed_action_re = re.compile(r'UserMetrics::RecordComputedAction') |