|
mojo: shell::Context should outlive the shell MessageLoop
Make sure tests and mojo_mains all work the same way by handing control
of MessageLoops in test to ShellTest{Base, Helper}.
This ensures Applications that live as part of the shell (ViewManager)
can rely on MessageLoop destruction happening first (before their own
destruction) for cleaning up, similar to how this typically works for real
apps (mojo_main_{chromium, standalone}.
BUG= 394477
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286370
Total comments: 4
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+59 lines, -45 lines) |
Patch |
 |
M |
mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/view_manager/view_manager_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/window_manager/window_manager_api_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/shell/android/mojo_main.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/child_process_host_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/context.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/context.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/desktop/mojo_main.cc
|
View
|
1
2
3
|
1 chunk |
+25 lines, -22 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/dynamic_service_loader_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/shell/in_process_dynamic_service_runner_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/shell/shell_test_base.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/shell/shell_test_base.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/shell_test_helper.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/shell_test_helper.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|