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

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed)

Created:
5 years, 7 months ago by Sami
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tzik, posciak+watch_chromium.org, dgrogan, tracing+reviews_chromium.org, kinuko+watch, aandrey+blink_chromium.org, jsbell+serviceworker_chromium.org, toyoshim+midi_chromium.org, jam, darin-cc_chromium.org, devtools-reviews_chromium.org, mlamouri+watch-content_chromium.org, nhiroki, feature-media-reviews_chromium.org, piman+watch_chromium.org, jsbell+idb_chromium.org, michaeln, wfh+watch_chromium.org, serviceworker-reviews, mcasas+watch_chromium.org, yurys, kinuko+serviceworker, cmumford, mkwst+moarreviews-renderer_chromium.org, horo+watch_chromium.org, wjia+watch_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 TBR=jochen@chromium.org,raymes@chromium.org Committed: https://crrev.com/12262cfcdbfd13d853dc358ca600bfc499e31ad5 Cr-Commit-Position: refs/heads/master@{#330939}

Patch Set 1 #

Patch Set 2 : Build fixes. #

Patch Set 3 : Cleanup. #

Total comments: 18

Patch Set 4 : Review comments. #

Patch Set 5 : Build fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -672 lines) Patch
M chrome/renderer/chrome_mock_render_thread.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_mock_render_thread.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/nacl/renderer/pnacl_translation_resource_host.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/nacl/renderer/pnacl_translation_resource_host.cc View 1 6 chunks +17 lines, -22 lines 0 comments Download
M components/printing/test/print_mock_render_thread.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/printing/test/print_mock_render_thread.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/child_memory_dump_manager_delegate_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/child_trace_message_filter.h View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M components/tracing/child_trace_message_filter.cc View 4 chunks +14 lines, -15 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M content/child/child_histogram_message_filter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/child_histogram_message_filter.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M content/child/child_process.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 7 chunks +13 lines, -12 lines 0 comments Download
M content/child/fileapi/file_system_dispatcher.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/child/fileapi/webfilesystem_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/child/fileapi/webfilewriter_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M content/child/indexed_db/indexed_db_message_filter.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/child/indexed_db/webidbcursor_impl_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/child/npapi/np_channel_base.h View 3 chunks +8 lines, -5 lines 0 comments Download
M content/child/npapi/np_channel_base.cc View 5 chunks +12 lines, -8 lines 0 comments Download
M content/child/npapi/plugin_instance.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/npapi/plugin_instance.cc View 6 chunks +7 lines, -6 lines 0 comments Download
M content/child/npapi/plugin_lib.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M content/child/npapi/plugin_stream.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/child/power_monitor_broadcast_source.cc View 4 chunks +16 lines, -17 lines 0 comments Download
M content/child/scoped_child_process_reference.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/child/service_worker/service_worker_provider_context.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/service_worker/service_worker_provider_context.cc View 9 chunks +16 lines, -15 lines 0 comments Download
M content/child/thread_safe_sender.h View 3 chunks +5 lines, -4 lines 0 comments Download
M content/child/thread_safe_sender.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/child/threaded_data_provider.cc View 8 chunks +11 lines, -10 lines 0 comments Download
M content/child/web_data_consumer_handle_impl_unittest.cc View 7 chunks +15 lines, -16 lines 0 comments Download
M content/child/webmessageportchannel_impl.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M content/plugin/plugin_channel.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/plugin/plugin_channel.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M content/plugin/plugin_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/renderer/render_thread.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/mock_render_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/mock_render_thread.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/devtools/devtools_agent_filter.h View 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/devtools/devtools_agent_filter.cc View 2 chunks +9 lines, -10 lines 0 comments Download
M content/renderer/media/aec_dump_message_filter.h View 4 chunks +16 lines, -16 lines 0 comments Download
M content/renderer/media/aec_dump_message_filter.cc View 9 chunks +29 lines, -44 lines 0 comments Download
M content/renderer/media/audio_device_factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/audio_input_message_filter.h View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M content/renderer/media/audio_input_message_filter.cc View 1 2 11 chunks +13 lines, -14 lines 0 comments Download
M content/renderer/media/audio_message_filter.h View 1 2 5 chunks +11 lines, -11 lines 0 comments Download
M content/renderer/media/audio_message_filter.cc View 1 2 10 chunks +12 lines, -13 lines 0 comments Download
M content/renderer/media/media_stream_video_source.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_video_source.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M content/renderer/media/media_stream_video_track.cc View 1 2 10 chunks +23 lines, -28 lines 0 comments Download
M content/renderer/media/midi_message_filter.h View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M content/renderer/media/midi_message_filter.cc View 1 2 14 chunks +51 lines, -53 lines 0 comments Download
M content/renderer/media/mock_media_stream_video_source.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/media/video_capture_impl_manager.cc View 8 chunks +21 lines, -34 lines 0 comments Download
M content/renderer/media/video_capture_impl_manager_unittest.cc View 1 chunk +6 lines, -8 lines 0 comments Download
M content/renderer/media/video_track_adapter.h View 3 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/media/video_track_adapter.cc View 9 chunks +29 lines, -32 lines 0 comments Download
M content/renderer/media/webrtc/media_stream_remote_video_source.cc View 5 chunks +12 lines, -15 lines 0 comments Download
M content/renderer/media/webrtc/video_destination_handler.cc View 1 2 4 chunks +7 lines, -8 lines 0 comments Download
M content/renderer/npapi/plugin_channel_host.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/npapi/plugin_channel_host.cc View 2 chunks +5 lines, -9 lines 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/p2p/host_address_request.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/p2p/host_address_request.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M content/renderer/p2p/socket_client_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/p2p/socket_client_impl.cc View 11 chunks +21 lines, -23 lines 0 comments Download
M content/renderer/p2p/socket_dispatcher.h View 4 chunks +4 lines, -5 lines 0 comments Download
M content/renderer/p2p/socket_dispatcher.cc View 5 chunks +12 lines, -14 lines 0 comments Download
M content/renderer/pepper/pepper_hung_plugin_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_hung_plugin_filter.cc View 3 chunks +7 lines, -8 lines 0 comments Download
M content/renderer/pepper/pepper_media_stream_video_track_host.cc View 1 2 4 chunks +9 lines, -12 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input.cc View 8 chunks +13 lines, -14 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output.cc View 5 chunks +11 lines, -12 lines 0 comments Download
M content/renderer/pepper/pepper_proxy_channel_delegate_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/nacl_irt/ppapi_dispatcher.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/nacl_irt/ppapi_dispatcher.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M ppapi/proxy/proxy_channel.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/proxy/proxy_channel.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Sami
PTAL. Sorry this one is a bit sprawling because the content/child interfaces are used in ...
5 years, 7 months ago (2015-05-20 14:04:14 UTC) #2
no sievers
lgtm https://codereview.chromium.org/1142063003/diff/40001/components/nacl/renderer/pnacl_translation_resource_host.cc File components/nacl/renderer/pnacl_translation_resource_host.cc (right): https://codereview.chromium.org/1142063003/diff/40001/components/nacl/renderer/pnacl_translation_resource_host.cc#newcode14 components/nacl/renderer/pnacl_translation_resource_host.cc:14: scoped_refptr<base::SingleThreadTaskRunner> io_task_runner) nit: const ref as before https://codereview.chromium.org/1142063003/diff/40001/components/tracing/child_trace_message_filter.h ...
5 years, 7 months ago (2015-05-20 23:02:39 UTC) #3
Sami
https://codereview.chromium.org/1142063003/diff/40001/components/nacl/renderer/pnacl_translation_resource_host.cc File components/nacl/renderer/pnacl_translation_resource_host.cc (right): https://codereview.chromium.org/1142063003/diff/40001/components/nacl/renderer/pnacl_translation_resource_host.cc#newcode14 components/nacl/renderer/pnacl_translation_resource_host.cc:14: scoped_refptr<base::SingleThreadTaskRunner> io_task_runner) On 2015/05/20 23:02:38, sievers wrote: > nit: ...
5 years, 7 months ago (2015-05-21 11:39:49 UTC) #4
Sami
Thanks again Daniel. TBR'ing chrome/ and components/ for jochen@ and ppapi/ to raymes@ since those ...
5 years, 7 months ago (2015-05-21 13:21:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1142063003/80001
5 years, 7 months ago (2015-05-21 13:21:42 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-21 14:49:45 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 14:50:38 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/12262cfcdbfd13d853dc358ca600bfc499e31ad5
Cr-Commit-Position: refs/heads/master@{#330939}

Powered by Google App Engine
This is Rietveld 408576698