|
Web MIDI: add a new UMA entry for the final result code
This change adds a new UMA entry for the final MidiManager
result code on browser shutdown.
To report the result correctly, I assigned new numbers for
the result code. As a side effect, this patch can fix an
existing problem that the result code for NOT_INITIALIZED
was not propagated to renderer side correctly.
BUG= 465661
Committed: https://crrev.com/eb09fc13169f631cfd610af9fabc3a9e3311ec1a
Cr-Commit-Position: refs/heads/master@{#338148}
Total comments: 14
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+154 lines, -141 lines) |
Patch |
 |
M |
content/browser/media/midi_host.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/media/midi_host.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/media/midi_messages.h
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/midi_message_filter.h
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/midi_message_filter.cc
|
View
|
|
7 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager.h
|
View
|
1
2
3
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager.cc
|
View
|
1
2
3
4
|
6 chunks |
+12 lines, -9 lines |
2 comments
|
Download
|
 |
M |
media/midi/midi_manager_alsa.cc
|
View
|
|
7 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_mac.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_mac_unittest.cc
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_unittest.cc
|
View
|
|
12 chunks |
+25 lines, -26 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_usb.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_usb.cc
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_usb_unittest.cc
|
View
|
|
13 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_win.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/midi/midi_manager_win.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
D |
media/midi/midi_result.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
A |
media/midi/result.h
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (9 generated)
|