|
Set up content in-process main threads via factory
This code was previously #ifdef'd out based on CHROME_MULTIPLE_DLL. This works
for chrome, but not for test targets which link content_browser. content_browser
needs to not link against child-only targets (as they'll cause linking blink
into the browser dll).
Instead of having utility_process_host_impl, et al. own the in-process
implementation, use a factory to create them that's installed in test code, and
in chrome for supporting --single-process.
At the same time, remove the global CHROME_MULTIPLE_DLL define and localize it
to chrome_exe.gypi because it's too easy to use incorrectly.
TBR=darin
R=piman@chromium.org,jam@chromium.org
BUG= 237249
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217968
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+349 lines, -190 lines) |
Patch |
|
M |
build/common.gypi
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/app/chrome_main_delegate.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_exe.gypi
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/app/content_main_runner.cc
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/DEPS
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/gpu/gpu_process_host.h
|
View
|
1
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
|
3 chunks |
+10 lines, -44 lines |
1 comment
|
Download
|
|
M |
content/browser/renderer_host/DEPS
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+19 lines, -66 lines |
0 comments
|
Download
|
|
M |
content/browser/utility_process_host_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/utility_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+10 lines, -54 lines |
0 comments
|
Download
|
|
M |
content/content_gpu.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/content_utility.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/gpu/gpu_main_thread.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/gpu/gpu_main_thread.cc
|
View
|
1
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/render_process_host.h
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/utility_process_host.h
|
View
|
1
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/test/content_test_suite_base.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/renderer_main_thread.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/renderer_main_thread.cc
|
View
|
1
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/utility/utility_main_thread.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/utility/utility_main_thread.cc
|
View
|
1
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|