|
Replace BrowserProces::AddRefModule/RemoveModule by ScopedKeepAlive
Uses ScopedKeepAlive for Browser and menus, and remove references
to other separate counters to keep Chrome alive. KeepAliveRegistry
should now be the source of truth to look up what is keeping the
browser process running.
Doing so breaks many assumptions from the unit and browser tests,
so most changes are to fix them.
BUG= 587926
Committed: https://crrev.com/fe075c81bffa961dfbc1bccc2e47501f45b88484
Cr-Commit-Position: refs/heads/master@{#381938}
Total comments: 6
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+270 lines, -220 lines) |
Patch |
|
M |
chrome/browser/apps/app_window_interactive_uitest.cc
|
View
|
1
|
4 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/background/background_mode_manager_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+67 lines, -55 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/content_settings/content_settings_apitest.cc
|
View
|
1
|
4 chunks |
+12 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/preference/preference_apitest.cc
|
View
|
1
|
4 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/application_lifetime.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/application_lifetime.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+24 lines, -27 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/keep_alive_registry.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/keep_alive_registry.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/keep_alive_registry_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+26 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/keep_alive_state_observer.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/keep_alive_types.h
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/lifetime/keep_alive_types.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_restore.cc
|
View
|
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_restore_browsertest.cc
|
View
|
|
7 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser.h
|
View
|
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_list.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/startup/startup_browser_creator_triggered_reset_browsertest_win.cc
|
View
|
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/chrome_views_delegate.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/chrome_views_delegate.cc
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/uninstall_view.cc
|
View
|
1
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/testing_browser_process.h
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/testing_browser_process.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+1 line, -10 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|