summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfalcantara@chromium.org <dfalcantara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-04 02:35:47 +0000
committerdfalcantara@chromium.org <dfalcantara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-04 02:35:47 +0000
commit05d8b5798639237e0a556ff546be7af1939578c2 (patch)
tree4d53310844da1cbbc32c4a511656eacc0b0c8754
parent973a2bac51ffe2bc192018a90b6a8f727c79e2f3 (diff)
downloadchromium_src-05d8b5798639237e0a556ff546be7af1939578c2.zip
chromium_src-05d8b5798639237e0a556ff546be7af1939578c2.tar.gz
chromium_src-05d8b5798639237e0a556ff546be7af1939578c2.tar.bz2
Add Android UMA actions to chromeactions.txt
There are actions that are pulled from a different repo and aren't normally crawled by the extract_actions.py script. Manually add them to extract_actions.py. TBR=jam@chromium.org BUG=136984 Review URL: https://chromiumcodereview.appspot.com/11044027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160056 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/tools/chromeactions.txt75
-rwxr-xr-xchrome/tools/extract_actions.py83
2 files changed, 158 insertions, 0 deletions
diff --git a/chrome/tools/chromeactions.txt b/chrome/tools/chromeactions.txt
index 7ebac7f..7c8b1c0 100644
--- a/chrome/tools/chromeactions.txt
+++ b/chrome/tools/chromeactions.txt
@@ -931,6 +931,79 @@
0x8b5912c6a1d5add6 MediaContextMenu_Play
0xc2d04b65a8ff1f89 MediaContextMenu_Unmute
0xfa4408343dc15b72 MixedScript_LoadAnyway_Bubble
+0x3dce569ec6ea9080 MobileBeamCallbackSuccess
+0x90e5a607c36178ce MobileBeamInvalidAppState
+0xbc28c6539da4d688 MobileBreakpadUploadAttempt
+0x4622f7e73642ad8a MobileBreakpadUploadFailure
+0x29f2927c01084453 MobileBreakpadUploadSuccess
+0xd51394e7d79ed777 MobileContextMenuCopyImageLinkAddress
+0xa7b47844dbca122c MobileContextMenuCopyLinkAddress
+0x5ff99655278e08bf MobileContextMenuCopyLinkText
+0x6607f1a62c7086b7 MobileContextMenuImage
+0x5ac057123a1aa102 MobileContextMenuLink
+0xaea6ec9898f5dca7 MobileContextMenuOpenImageInNewTab
+0xf20535df9a8b8956 MobileContextMenuOpenLink
+0x9e77fb06de21d0b4 MobileContextMenuOpenLinkInIncognito
+0xa024c8dce2320bb1 MobileContextMenuOpenLinkInNewTab
+0xde20f676a6805404 MobileContextMenuSaveImage
+0x470fb8fde85c094b MobileContextMenuShareLink
+0xb177bc454b6a2105 MobileContextMenuText
+0xac284cf4338f8a66 MobileContextMenuViewImage
+0xaa0f56a837e6fc61 MobileFreAttemptSignIn
+0xe18a359c1fcb3fbb MobileFreSignInSuccessful
+0x1d68dcd4ec7fdadc MobileFreSkipSignIn
+0xd593c486af2f742f MobileMenuAddToBookmarks
+0x952e55d25fd7f645 MobileMenuAllBookmarks
+0x012de2560a8ce076 MobileMenuBack
+0x8e57c931b602766a MobileMenuCloseAllTabs
+0xa8326b05fd6bc10c MobileMenuCloseTab
+0x4852b77757f1128a MobileMenuFeedback
+0x70d79227bd988ebd MobileMenuFindInPage
+0x6a191ad02dfcfde5 MobileMenuForward
+0x32de876b3eb8f2fb MobileMenuFullscreen
+0xa880dc9ccdc2ed51 MobileMenuNewIncognitoTab
+0x8d1aefe7246707fa MobileMenuNewTab
+0x0581354d10947136 MobileMenuOpenTabs
+0x6771b11116f29809 MobileMenuQuit
+0xdeddac455059a536 MobileMenuReload
+0xbd48a04b98a0806d MobileMenuSettings
+0x4a8e89dbe7dc9821 MobileMenuShare
+0xc9389060e824d3ec MobileMenuShow
+0x23f55337b40c7686 MobileNTPBookmark
+0x2927c5a40258df17 MobileNTPForeignSession
+0x5a4f535062ffe001 MobileNTPMostVisited
+0xc172db5c29ae2771 MobileNTPSwitchToBookmarks
+0xd4df8c01afe71935 MobileNTPSwitchToIncognito
+0x46c727e82f8494bc MobileNTPSwitchToMostVisited
+0x2f3ff7588b15e4b5 MobileNTPSwitchToOpenTabs
+0xd6643e725ce30ed4 MobileNewTabOpened
+0x90071ab23ccdcd96 MobileOmniboxSearch
+0x23037bbea96a8ceb MobileOmniboxVoiceSearch
+0xb1249f32bf64d5e8 MobilePageLoaded
+0x029217f521222d21 MobilePageLoadedDesktopUserAgent
+0x7bdf9c4a8dab56fb MobilePageLoadedWithKeyboard
+0xe9e4921fd2dc5ca6 MobileReceivedExternalIntent
+0xd38e217ec665e879 MobileRendererCrashed
+0x09618d294069e60c MobileShortcutAllBookmarks
+0x2ad4806d40f823b2 MobileShortcutFindInPage
+0xc6e9ebacfe2e732e MobileShortcutNewIncognitoTab
+0x54aa16ebe7a27823 MobileShortcutNewTab
+0x5b326627b3bfa8f2 MobileSideSwipeFinished
+0xd96fefb036806b54 MobileStackViewCloseTab
+0x0a340661b1591ab5 MobileStackViewSwipeCloseTab
+0xe0c5fc409e7d2a9e MobileTabClobbered
+0x27caa49d16b71362 MobileTabClosed
+0x371b72b6cd5313f4 MobileTabStripCloseTab
+0xbb2496f58a543215 MobileTabStripNewTab
+0x61bd701a880845ea MobileTabSwitched
+0xeddccaa7cc01c9c4 MobileToolbarBack
+0x0082decef81a99e8 MobileToolbarForward
+0xc7cd1610c9a15c4d MobileToolbarNewTab
+0xf7a930aae6dd681f MobileToolbarReload
+0x3cf24b6fee3f97bf MobileToolbarShowMenu
+0x3deff4b1d1a6c795 MobileToolbarShowStackView
+0xa358306810cb78c4 MobileToolbarStackViewNewTab
+0x001b06917446ac95 MobileToolbarToggleBookmark
0x409a073e57298782 MostVisited0
0xaf4909be766297ab MostVisited1
0x6028c57529e1608f MostVisited2
@@ -1314,6 +1387,8 @@
0x2fbe99005588ef01 StartupTick
0x11a755d598c0c417 Stop
0x926a51baad949d12 Strikethrough
+0xc3100ff8c8a00184 SystemBack
+0x4c211ce58592c3e6 SystemBackForNavigation
0x4d56afb0a9837d41 TabContextMenu_BookmarkAllTabs
0x3712160bf3495979 TabContextMenu_CloseOtherTabs
0x417bd10a7c5e0210 TabContextMenu_CloseTab
diff --git a/chrome/tools/extract_actions.py b/chrome/tools/extract_actions.py
index c040ef2..65dae8a 100755
--- a/chrome/tools/extract_actions.py
+++ b/chrome/tools/extract_actions.py
@@ -188,6 +188,88 @@ def AddClosedSourceActions(actions):
actions.add('PDF_Unsupported_Shared_Form')
actions.add('PDF_Unsupported_Bookmarks')
+def AddAndroidActions(actions):
+ """Add actions that are used by Chrome on Android.
+
+ Arguments
+ actions: set of actions to add to.
+ """
+ actions.add('MobileBeamCallbackSuccess')
+ actions.add('MobileBeamInvalidAppState')
+ actions.add('MobileBreakpadUploadAttempt')
+ actions.add('MobileBreakpadUploadFailure')
+ actions.add('MobileBreakpadUploadSuccess')
+ actions.add('MobileContextMenuCopyImageLinkAddress')
+ actions.add('MobileContextMenuCopyLinkAddress')
+ actions.add('MobileContextMenuCopyLinkText')
+ actions.add('MobileContextMenuImage')
+ actions.add('MobileContextMenuLink')
+ actions.add('MobileContextMenuOpenImageInNewTab')
+ actions.add('MobileContextMenuOpenLink')
+ actions.add('MobileContextMenuOpenLinkInIncognito')
+ actions.add('MobileContextMenuOpenLinkInNewTab')
+ actions.add('MobileContextMenuSaveImage')
+ actions.add('MobileContextMenuShareLink')
+ actions.add('MobileContextMenuText')
+ actions.add('MobileContextMenuViewImage')
+ actions.add('MobileFreAttemptSignIn')
+ actions.add('MobileFreSignInSuccessful')
+ actions.add('MobileFreSkipSignIn')
+ actions.add('MobileMenuAddToBookmarks')
+ actions.add('MobileMenuAllBookmarks')
+ actions.add('MobileMenuBack')
+ actions.add('MobileMenuCloseAllTabs')
+ actions.add('MobileMenuCloseTab')
+ actions.add('MobileMenuFeedback')
+ actions.add('MobileMenuFindInPage')
+ actions.add('MobileMenuForward')
+ actions.add('MobileMenuFullscreen')
+ actions.add('MobileMenuNewIncognitoTab')
+ actions.add('MobileMenuNewTab')
+ actions.add('MobileMenuOpenTabs')
+ actions.add('MobileMenuQuit')
+ actions.add('MobileMenuReload')
+ actions.add('MobileMenuSettings')
+ actions.add('MobileMenuShare')
+ actions.add('MobileMenuShow')
+ actions.add('MobileNTPBookmark')
+ actions.add('MobileNTPForeignSession')
+ actions.add('MobileNTPMostVisited')
+ actions.add('MobileNTPSwitchToBookmarks')
+ actions.add('MobileNTPSwitchToIncognito')
+ actions.add('MobileNTPSwitchToMostVisited')
+ actions.add('MobileNTPSwitchToOpenTabs')
+ actions.add('MobileNewTabOpened')
+ actions.add('MobileOmniboxSearch')
+ actions.add('MobileOmniboxVoiceSearch')
+ actions.add('MobilePageLoaded')
+ actions.add('MobilePageLoadedDesktopUserAgent')
+ actions.add('MobilePageLoadedWithKeyboard')
+ actions.add('MobileReceivedExternalIntent')
+ actions.add('MobileRendererCrashed')
+ actions.add('MobileShortcutAllBookmarks')
+ actions.add('MobileShortcutFindInPage')
+ actions.add('MobileShortcutNewIncognitoTab')
+ actions.add('MobileShortcutNewTab')
+ actions.add('MobileSideSwipeFinished')
+ actions.add('MobileStackViewCloseTab')
+ actions.add('MobileStackViewSwipeCloseTab')
+ actions.add('MobileTabClobbered')
+ actions.add('MobileTabClosed')
+ actions.add('MobileTabStripCloseTab')
+ actions.add('MobileTabStripNewTab')
+ actions.add('MobileTabSwitched')
+ actions.add('MobileToolbarBack')
+ actions.add('MobileToolbarForward')
+ actions.add('MobileToolbarNewTab')
+ actions.add('MobileToolbarReload')
+ actions.add('MobileToolbarShowMenu')
+ actions.add('MobileToolbarShowStackView')
+ actions.add('MobileToolbarStackViewNewTab')
+ actions.add('MobileToolbarToggleBookmark')
+ actions.add('SystemBack')
+ actions.add('SystemBackForNavigation')
+
def AddAboutFlagsActions(actions):
"""This parses the experimental feature flags for UMA actions.
@@ -426,6 +508,7 @@ def main(argv):
AddClosedSourceActions(actions)
AddChromeOSActions(actions)
AddExtensionActions(actions)
+ AddAndroidActions(actions)
if hash_output:
f = open(chromeactions_path, "w")