|
Update UMA user actions parsing, primarily to include WebUI metrics.
* Update extract_actions.py to scan for metrics specified in the WebUI code. A common pattern is <input pref="blah" metric="Options_Blah" type="checkbox">.
* Clean up almost all of the existing warnings thrown by extract_actions.py. There is one remaining use of RecordComputedAction that is a bit too subtle for me to lump into this patch.
* Add a new warning to extract_actions.py that scans for uses of UserMetricsAction with a non-literal string. Any such uses are going to be missed by the script, and hence should use RecordComputedAction instead.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95925
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+169 lines, -176 lines) |
Patch |
 |
M |
chrome/browser/about_flags.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/pdf_unsupported_feature.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/gpu_internals.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/advanced_options.html
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/advanced_options.js
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/autofill_options.html
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/browser_options.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/import_data_overlay.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/search_page.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/advanced_options_handler.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/advanced_options_handler.cc
|
View
|
1
2
3
4
|
11 chunks |
+12 lines, -79 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/browser_options_handler.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/core_options_handler.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/options_ui.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/options_ui.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/personal_options_handler.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/tools/chromeactions.txt
|
View
|
1
2
3
4
|
4 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/tools/extract_actions.py
|
View
|
1
2
3
4
|
5 chunks |
+99 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|