|
Set a "metrics_client_id" crash key instead of "guid" on Mac OS X.
Crashpad maintains the client ID on its own and is responsible for
sending this form parameter to the Breakpad server during report upload.
When using Crashpad as its crash-reporting implementation, Chrome does
not need to set this crash key.
When Chrome does attempt to set this crash key on its own,
crashpad_handler produces these harmless log messages:
[mmdd/hhmmss:WARNING:crash_report_upload_thread.cc(44)] duplicate key
guid, discarding value 0123456789ABCDEF0123456789ABCDEF
There are valid reasons to provide the metrics client ID along with
the crash report, so this is placed in a distinct crash key,
"metrics_client_id".
BUG= 466964
R=cpu@chromium.org, isherman@chromium.org, rsesek@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/c67fa64ff088022c1149f50ca69a1b173167afe5
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+116 lines, -22 lines) |
Patch |
 |
M |
chrome/app/chrome_crash_reporter_client.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_crash_reporter_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_main_delegate.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/chrome_metrics_service_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/chrome_metrics_service_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/child_process_logging_win.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/crash_keys.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/common/crash_keys.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+43 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/metrics/cast_metrics_service_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/metrics/cast_metrics_service_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/crash/app/breakpad_mac.mm
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/crash/app/crash_reporter_client.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/crash/app/crash_reporter_client.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/crash/app/crashpad_mac.mm
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/metrics/metrics_service.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/metrics/metrics_service_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/metrics/test_metrics_service_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/metrics/test_metrics_service_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (8 generated)
|