Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed)

Created:
7 years, 6 months ago by scottmg
Modified:
7 years, 6 months ago
Reviewers:
nduca, jam
CC:
chromium-reviews, tzik+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, kinuko+watch
Visibility:
Public.

Description

Move a bunch of child-only code from content/common to content/child Was just trying to move content/common/resource_dispatcher.{cc,h}, but that ends up needing a lot of other things to move. TBR=jam@chromium.org BUG=246357 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204569

Patch Set 1 #

Patch Set 2 : pull out WaitForDebugger #

Patch Set 3 : move quota_dispatcher, file_system_dispatcher to child #

Patch Set 4 : move vaapi something something #

Patch Set 5 : move vaapi back #

Patch Set 6 : socket_stream_dispatcher and webkitplatformsupport_impl #

Patch Set 7 : webmessageportchannel_impl #

Patch Set 8 : thread_safe_sender #

Patch Set 9 : webkitplatformsuppport_impl #

Patch Set 10 : deps for single process #

Total comments: 4

Patch Set 11 : fix some sort orders #

Total comments: 4

Patch Set 12 : . #

Total comments: 2

Patch Set 13 : waitfordebugger back in child_process #

Patch Set 14 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -4453 lines) Patch
M content/app/android/child_process_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_main_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -10 lines 0 comments Download
M content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h View 1 2 3 4 5 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/image_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/java/java_bridge_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_sandbox_host_linux.cc View 1 2 3 4 5 7 8 1 chunk +1 line, -1 line 0 comments Download
A content/child/DEPS View 5 1 chunk +3 lines, -0 lines 0 comments Download
A + content/child/child_histogram_message_filter.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/child_histogram_message_filter.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/child_process.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -4 lines 0 comments Download
A + content/child/child_process.cc View 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
A + content/child/child_resource_message_filter.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/child_resource_message_filter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/child/child_thread.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/child_thread.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -9 lines 0 comments Download
A + content/child/database_util.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/database_util.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + content/child/fileapi/file_system_dispatcher.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/fileapi/file_system_dispatcher.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/fileapi/webfilesystem_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/fileapi/webfilewriter_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/indexed_db/indexed_db_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/indexed_db/proxy_webidbcursor_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/indexed_db/proxy_webidbdatabase_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/indexed_db/proxy_webidbfactory_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/child/quota_dispatcher.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/quota_dispatcher.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + content/child/resource_dispatcher.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/resource_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/child/resource_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
A + content/child/socket_stream_dispatcher.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/socket_stream_dispatcher.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
A + content/child/thread_safe_sender.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/thread_safe_sender.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/webblobregistry_impl.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
A + content/child/webkitplatformsupport_impl.h View 1 2 3 4 5 7 8 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webkitplatformsupport_impl.cc View 1 2 3 4 5 7 8 1 chunk +3 lines, -3 lines 0 comments Download
A + content/child/webmessageportchannel_impl.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webmessageportchannel_impl.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
D content/common/child_histogram_message_filter.h View 1 chunk +0 lines, -69 lines 0 comments Download
D content/common/child_histogram_message_filter.cc View 1 chunk +0 lines, -105 lines 0 comments Download
D content/common/child_process.h View 1 chunk +0 lines, -79 lines 0 comments Download
D content/common/child_process.cc View 1 chunk +0 lines, -142 lines 0 comments Download
D content/common/child_resource_message_filter.h View 1 chunk +0 lines, -48 lines 0 comments Download
D content/common/child_resource_message_filter.cc View 1 chunk +0 lines, -33 lines 0 comments Download
D content/common/child_thread.h View 1 chunk +0 lines, -193 lines 0 comments Download
D content/common/child_thread.cc View 1 chunk +0 lines, -360 lines 0 comments Download
D content/common/database_util.h View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M content/common/database_util.cc View 1 2 1 chunk +0 lines, -66 lines 0 comments Download
D content/common/fileapi/file_system_dispatcher.h View 1 2 1 chunk +0 lines, -158 lines 0 comments Download
M content/common/fileapi/file_system_dispatcher.cc View 1 2 1 chunk +0 lines, -468 lines 0 comments Download
M content/common/gpu/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
D content/common/quota_dispatcher.h View 1 2 1 chunk +0 lines, -76 lines 0 comments Download
M content/common/quota_dispatcher.cc View 1 2 1 chunk +0 lines, -140 lines 0 comments Download
D content/common/resource_dispatcher.h View 1 chunk +0 lines, -201 lines 0 comments Download
D content/common/resource_dispatcher.cc View 1 chunk +0 lines, -768 lines 0 comments Download
D content/common/resource_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -442 lines 0 comments Download
D content/common/socket_stream_dispatcher.h View 1 2 3 4 5 1 chunk +0 lines, -53 lines 0 comments Download
M content/common/socket_stream_dispatcher.cc View 1 2 3 4 5 1 chunk +0 lines, -286 lines 0 comments Download
D content/common/thread_safe_sender.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -45 lines 0 comments Download
M content/common/thread_safe_sender.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -27 lines 0 comments Download
M content/common/webkitplatformsupport_impl.h View 1 2 3 4 5 7 8 1 chunk +0 lines, -45 lines 0 comments Download
M content/common/webkitplatformsupport_impl.cc View 1 2 3 4 5 7 8 1 chunk +0 lines, -78 lines 0 comments Download
D content/common/webmessageportchannel_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -81 lines 0 comments Download
M content/common/webmessageportchannel_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -252 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 8 2 chunks +26 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +0 lines, -24 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -5 lines 0 comments Download
M content/gpu/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_process.h View 1 chunk +1 line, -1 line 0 comments Download
M content/plugin/plugin_channel.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/plugin/plugin_main.cc View 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M content/plugin/plugin_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M content/plugin/plugin_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/broker_process_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/plugin_process_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_broker_main.cc View 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_plugin_main.cc View 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
content/ppapi_plugin/ppapi_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h View 1 2 3 4 5 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
content/renderer/java/java_bridge_channel.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/java/java_bridge_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/pepper_platform_video_decoder_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/p2p/socket_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_file_system_host.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/plugin_channel_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_process.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_process_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/renderer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.h View 1 2 3 4 5 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
content/renderer/websharedworker_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/websharedworkerrepository_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -4 lines 0 comments Download
M content/utility/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/utility/utility_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/utility/utility_thread_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/utility/utility_thread_impl.cc View 1 2 3 4 5 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M content/worker/websharedworker_stub.cc View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M content/worker/websharedworkerclient_proxy.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M content/worker/worker_main.cc View 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/worker/worker_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M content/worker/worker_webkitplatformsupport_impl.h View 1 2 3 4 5 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/worker/worker_webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
scottmg
John, could you look over this before I make it even larger? Mostly regarding whether ...
7 years, 6 months ago (2013-06-04 23:26:38 UTC) #1
scottmg
On 2013/06/04 23:26:38, scottmg wrote: > John, could you look over this before I make ...
7 years, 6 months ago (2013-06-04 23:39:17 UTC) #2
scottmg
https://codereview.chromium.org/16328003/diff/24001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/16328003/diff/24001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode12 content/common/gpu/media/vaapi_video_decode_accelerator.cc:12: #include "content/child/child_thread.h" Actually, I guess this include is wrong, ...
7 years, 6 months ago (2013-06-04 23:54:14 UTC) #3
jam
btw totally acceptable to add temporary includes so that your changes don't balloon :) https://codereview.chromium.org/16328003/diff/24001/content/common/gpu/media/vaapi_video_decode_accelerator.cc ...
7 years, 6 months ago (2013-06-05 16:54:58 UTC) #4
scottmg
thanks, i'll try to make the next one(s) smaller with some carefully chosen temporary DEPS ...
7 years, 6 months ago (2013-06-05 17:19:26 UTC) #5
jam
https://codereview.chromium.org/16328003/diff/24001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/16328003/diff/24001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode12 content/common/gpu/media/vaapi_video_decode_accelerator.cc:12: #include "content/child/child_thread.h" On 2013/06/05 17:19:27, scottmg wrote: > On ...
7 years, 6 months ago (2013-06-06 16:07:29 UTC) #6
scottmg
(sorry, some rebasing changes. 11->12 just puts WaitForDebugger back into ChildProcess) https://codereview.chromium.org/16328003/diff/32001/content/common/debug_util.h File content/common/debug_util.h (right): ...
7 years, 6 months ago (2013-06-06 16:26:47 UTC) #7
jam
lgtm
7 years, 6 months ago (2013-06-06 16:29:44 UTC) #8
scottmg
tbr nduca, moving components/tracing DEPS from content/common/DEPS to content/child/DEPS.
7 years, 6 months ago (2013-06-06 16:38:38 UTC) #9
scottmg
7 years, 6 months ago (2013-06-06 20:08:10 UTC) #10
Message was sent while issue was closed.
Committed patchset #14 manually as r204569 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698