|
Histograms.xml python script housekeeping:
- Add an autogeneration script for the bad_message.h files.
- add histogram_paths.py, to help deal with paths consistently.
- Specify filenames relative to src/ in all scripts. This makes
things more greppable, and eliminates a problem where the os-
specific path separator would seep into the histograms.xml
if you ran the scripts on Windows.
- Make the scripts run properly from any directory (previously they
had to be run from the histograms directory).
- Update some docstring comments (google python style)
Changes outside of tools\metrics:
- From bad_message.h files, mention the autogen script.
And finally:
- Run all the scripts, which revealed some neglected enum values.
TEST=Run tools/metrics/.../*.py on Windows
BUG= 338781, 485227
Committed: https://crrev.com/0b08cdaeab9210611012014b9ba7ac93d7efb5c7
Cr-Commit-Position: refs/heads/master@{#332724}
Total comments: 10
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+281 lines, -182 lines) |
Patch |
 |
M |
chrome/browser/bad_message.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/nacl/browser/bad_message.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/bad_message.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/bad_message.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
tools/metrics/common/path_util.py
|
View
|
1
2
3
4
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/common/presubmit_util.py
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/find_unmapped_histograms.py
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+25 lines, -31 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histogram_ownership.py
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
|
23 chunks |
+97 lines, -60 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/pretty_print.py
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/print_style.py
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
tools/metrics/histograms/update_bad_message_reasons.py
|
View
|
1
2
3
4
5
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_editor_commands.py
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_extension_functions.py
|
View
|
5
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_extension_permission.py
|
View
|
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_histogram_enum.py
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+21 lines, -12 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_net_error_codes.py
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_policies.py
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_use_counter_css.py
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/update_use_counter_feature_enum.py
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/validate_format.py
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/rappor/pretty_print.py
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 30 (9 generated)
|