|
Get rid of ChannelInit::SetSingleProcessIOTaskRunner()
The globally-set TaskRunner doesn't work because some child
thread can run inside the browser process even when other
child threads run in their own processes.
For example, there is a configuration where GpuChildThread
being in-process while RenderThreadImpl isn't.
It is troublesome once non-renderer child processes adopt
ChannelMojo.
This CL eliminates the global in-process IO task runner
and instead, passes an IO runnner for each thread
if it is configured as an in-process mode.
Note that InProcessChildThreadParams object is introuced to
clarify that the parameter is for in-process mode.
This is a spin-off from https://codereview.chromium.org/960693003/.
R=jamesr@chromium.org, rockot@chromium.org, jam@chromium.org
BUG= 377980
Committed: https://crrev.com/c6238ab6b40c8f0a291f75dbceb58535cf942eac
Cr-Commit-Position: refs/heads/master@{#321047}
Total comments: 6
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+197 lines, -131 lines) |
Patch |
 |
M |
content/browser/gpu/gpu_process_host.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/utility_process_host_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/utility_process_host_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.h
|
View
|
|
6 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.cc
|
View
|
1
2
3
4
|
8 chunks |
+29 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/child/mojo/mojo_application.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/mojo/mojo_application.cc
|
View
|
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
A |
content/common/in_process_child_thread_params.h
|
View
|
1
2
3
4
5
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/in_process_child_thread_params.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/mojo/channel_init.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/mojo/channel_init.cc
|
View
|
|
2 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_child_thread.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_child_thread.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/gpu/in_process_gpu_thread.h
|
View
|
1
2
3
4
5
|
4 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/gpu/in_process_gpu_thread.cc
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/in_process_renderer_thread.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/in_process_renderer_thread.cc
|
View
|
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl_browsertest.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/test/render_thread_impl_browser_test_ipc_helper.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/render_thread_impl_browser_test_ipc_helper.cc
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/utility/in_process_utility_thread.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/utility/in_process_utility_thread.cc
|
View
|
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/utility/utility_thread_impl.h
|
View
|
1
2
3
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/utility/utility_thread_impl.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
Total messages: 21 (3 generated)
|