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

Issue 1134113002: content/common: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed)

Created:
5 years, 7 months ago by Sami
Modified:
5 years, 7 months ago
Reviewers:
no sievers, Evan Stade
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content/common: Remove use of MessageLoopProxy and deprecated MessageLoop APIs This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 Committed: https://crrev.com/adc9b4ed3d797c2990d682a3784d2e892198ce00 Cr-Commit-Position: refs/heads/master@{#329696} Committed: https://crrev.com/d445291dc69fa20ff01879180fb7928d146ca729 Cr-Commit-Position: refs/heads/master@{#329846}

Patch Set 1 #

Patch Set 2 : Platform specific files. #

Patch Set 3 : Rebased. #

Patch Set 4 : GetIOThreadTaskRunner #

Patch Set 5 : Remove redundant message_loop()->task_runner() lookups. #

Patch Set 6 : Build fix. Update some comments. #

Patch Set 7 : Android build fix. #

Total comments: 10

Patch Set 8 : Rebased. #

Patch Set 9 : Review comments. #

Total comments: 1

Patch Set 10 : Fix CrOS build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -516 lines) Patch
M content/browser/android/java/gin_java_bridge_dispatcher_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.cc View 1 2 3 2 chunks +6 lines, -8 lines 0 comments Download
M content/common/database_connections_unittest.cc View 1 2 3 4 4 chunks +10 lines, -12 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 2 3 4 5 6 7 8 8 chunks +32 lines, -39 lines 0 comments Download
M content/common/gpu/client/gpu_video_decode_accelerator_host.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M content/common/gpu/client/gpu_video_encode_accelerator_host.cc View 1 2 chunks +3 lines, -6 lines 0 comments Download
M content/common/gpu/gpu_channel.h View 1 4 chunks +4 lines, -5 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 9 chunks +27 lines, -35 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 6 chunks +18 lines, -18 lines 0 comments Download
M content/common/gpu/gpu_channel_manager_unittest.cc View 1 2 3 4 3 chunks +5 lines, -8 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M content/common/gpu/media/fake_video_decode_accelerator.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M content/common/gpu/media/fake_video_decode_accelerator.cc View 5 chunks +15 lines, -18 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 3 chunks +5 lines, -9 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 8 chunks +15 lines, -13 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/h264_decoder.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/media/v4l2_image_processor.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/v4l2_image_processor.cc View 1 10 chunks +10 lines, -11 lines 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -8 lines 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 58 chunks +76 lines, -77 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.h View 1 2 3 4 5 4 chunks +7 lines, -11 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 24 chunks +50 lines, -49 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.h View 1 2 3 4 5 3 chunks +3 lines, -9 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 17 chunks +26 lines, -32 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 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 14 chunks +24 lines, -21 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 20 chunks +41 lines, -58 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -10 lines 0 comments Download
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -4 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 6 chunks +10 lines, -10 lines 0 comments Download
M content/common/host_discardable_shared_memory_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/common/mojo/channel_init.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Sami
Daniel, let me know if you're sick of looking at these patches already :)
5 years, 7 months ago (2015-05-12 12:47:56 UTC) #2
no sievers
lgtm https://codereview.chromium.org/1134113002/diff/120001/content/common/gpu/client/gpu_channel_host.cc File content/common/gpu/client/gpu_channel_host.cc (right): https://codereview.chromium.org/1134113002/diff/120001/content/common/gpu/client/gpu_channel_host.cc#newcode386 content/common/gpu/client/gpu_channel_host.cc:386: DCHECK(listeners_.find(route_id) == listeners_.end()); nit: maybe keep the DCHECK() ...
5 years, 7 months ago (2015-05-12 18:11:30 UTC) #3
Sami
Thanks! All comments addressed. https://codereview.chromium.org/1134113002/diff/120001/content/common/gpu/client/gpu_channel_host.cc File content/common/gpu/client/gpu_channel_host.cc (right): https://codereview.chromium.org/1134113002/diff/120001/content/common/gpu/client/gpu_channel_host.cc#newcode386 content/common/gpu/client/gpu_channel_host.cc:386: DCHECK(listeners_.find(route_id) == listeners_.end()); On 2015/05/12 ...
5 years, 7 months ago (2015-05-13 18:17:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134113002/160001
5 years, 7 months ago (2015-05-13 18:18:51 UTC) #7
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-05-13 19:19:19 UTC) #8
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/adc9b4ed3d797c2990d682a3784d2e892198ce00 Cr-Commit-Position: refs/heads/master@{#329696}
5 years, 7 months ago (2015-05-13 19:20:01 UTC) #9
zmo
This might break win gpu debug bot: http://build.chromium.org/p/chromium.gpu.fyi/builders/Win8%20Release%20%28NVIDIA%29/builds/13998 [2940:848:0513/134829:FATAL:handle_closer_agent.cc(86)] Check failed: dup_dummy == closed_handle. Backtrace: ...
5 years, 7 months ago (2015-05-13 20:58:06 UTC) #10
Evan Stade
https://codereview.chromium.org/1134113002/diff/160001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/1134113002/diff/160001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode311 content/common/gpu/media/gpu_video_decode_accelerator.cc:311: io_message_loop_)); this also seems to break the build for ...
5 years, 7 months ago (2015-05-13 22:01:28 UTC) #12
Evan Stade
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1135943005/ by estade@chromium.org. ...
5 years, 7 months ago (2015-05-13 22:03:22 UTC) #13
Sami
Relanding with a build fix. zmo wrote: > This might break win gpu debug bot: ...
5 years, 7 months ago (2015-05-14 12:04:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134113002/180001
5 years, 7 months ago (2015-05-14 12:04:44 UTC) #17
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 7 months ago (2015-05-14 14:42:04 UTC) #18
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/d445291dc69fa20ff01879180fb7928d146ca729 Cr-Commit-Position: refs/heads/master@{#329846}
5 years, 7 months ago (2015-05-14 14:42:48 UTC) #19
Evan Stade
On 2015/05/14 12:04:17, Sami wrote: > Relanding with a build fix. > > zmo wrote: ...
5 years, 7 months ago (2015-05-14 21:53:04 UTC) #20
Sami
5 years, 7 months ago (2015-05-15 10:45:09 UTC) #21
Message was sent while issue was closed.
On 2015/05/14 21:53:04, Evan Stade wrote:
> There was no failing bot that I know of. A human reported the build failure,
and
> brief inspection of the code showed that it was clearly broken for certain
build
> flags.

Ah, right. If we care about that build config, we should probably add a bot on
the waterfall for it.

Powered by Google App Engine
This is Rietveld 408576698