|
Add extra parameter to BrowserChildProcessCrashed to pass the exit_code at time of crash/termination.
Wire this into all the existing callers.
Add a new child process watcher in chrome to be notified on child process crashes. This will confirm whether users with RESULT_CODE_INVALID_SANDBOX_STATE are crashing on background start (--no-startup-window) or not. This also adds required framework to paint a sad tab UI from this class in the future.
BUG= 472324, 453541
TEST=Apply patch in http://pastebin.com/uEDxngBa and verify histogram ChildProcess.InvalidSandboxStateCrash.NoStartupWindow is recorded.
Committed: https://crrev.com/22e2f4a23530e0b22c8f37dd91e4e803a0a6e355
Cr-Commit-Position: refs/heads/master@{#327380}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -20 lines) |
Patch |
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chrome_child_process_watcher.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chrome_child_process_watcher.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/chrome_stability_metrics_provider.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/chrome_stability_metrics_provider.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/plugin_metrics_provider.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/plugin_metrics_provider.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/metrics/cast_stability_metrics_provider.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromecast/browser/metrics/cast_stability_metrics_provider.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/crash/browser/crash_dump_manager_android.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/crash/browser/crash_dump_manager_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/bootstrap_sandbox_mac.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_child_process_host_impl.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/mach_broker_mac.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/mach_broker_mac.mm
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/browser_child_process_observer.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/child_process_data.h
|
View
|
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (7 generated)
|