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

Issue 66953005: Remove media::BindToLoop() in favour of media::BindToCurrentLoop(). (Closed)

Created:
7 years, 1 month ago by scherkus (not reviewing)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org, Pawel Osciak
Visibility:
Public.

Description

Remove media::BindToLoop() in favour of media::BindToCurrentLoop(). Nearly all instances of BindToLoop() can be replaced with BindToCurrentLoop(). The three instances of BindToLoop() that can't be replaced with BindToCurrentLoop() are better off not using BindToLoop() in the first place. BUG=167240 TBR=jam Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243983

Patch Set 1 : remove BindToLoop #

Patch Set 2 : rebase and fix #

Patch Set 3 : fix android #

Patch Set 4 : fix cros #

Total comments: 8

Patch Set 5 : fix nits #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : MAGIC #

Patch Set 8 : comma operator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -109 lines) Patch
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download
M content/renderer/media/android/media_source_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/android/media_source_delegate.cc View 1 2 3 4 5 2 chunks +10 lines, -3 lines 0 comments Download
M content/renderer/media/rtc_video_decoder_factory_tv.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -7 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -7 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M media/audio/mac/audio_device_listener_mac_unittest.cc View 1 1 chunk +5 lines, -6 lines 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M media/base/android/media_decoder_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/bind_to_loop.h View 1 2 chunks +11 lines, -16 lines 0 comments Download
M media/base/bind_to_loop.h.pump View 1 2 chunks +11 lines, -16 lines 0 comments Download
M media/base/bind_to_loop_unittest.cc View 10 chunks +11 lines, -15 lines 0 comments Download
M media/base/test_helpers.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/text_renderer.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download
M media/filters/decrypting_demuxer_stream.cc View 1 2 3 4 5 4 chunks +6 lines, -7 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
scherkus (not reviewing)
fischman: this is ready for review I decided to remove BindToLoop() after all. The 3 ...
6 years, 11 months ago (2014-01-08 03:15:13 UTC) #1
Ami GONE FROM CHROMIUM
LGTM % nits +posciak to cc as FYI for VAVDA change. https://codereview.chromium.org/66953005/diff/300001/content/renderer/media/rtc_video_decoder_factory_tv.cc File content/renderer/media/rtc_video_decoder_factory_tv.cc (right): ...
6 years, 11 months ago (2014-01-08 21:37:41 UTC) #2
scherkus (not reviewing)
can you sanity check what I did in content/renderer/media/webmediaplayer_impl.cc ? https://codereview.chromium.org/66953005/diff/300001/content/renderer/media/rtc_video_decoder_factory_tv.cc File content/renderer/media/rtc_video_decoder_factory_tv.cc (right): https://codereview.chromium.org/66953005/diff/300001/content/renderer/media/rtc_video_decoder_factory_tv.cc#newcode106 ...
6 years, 11 months ago (2014-01-09 01:52:02 UTC) #3
Ami GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/66953005/diff/440021/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/66953005/diff/440021/content/renderer/media/webmediaplayer_impl.cc#newcode120 content/renderer/media/webmediaplayer_impl.cc:120: template <class T> That's some nice clevermeistering, but ...
6 years, 11 months ago (2014-01-09 01:57:06 UTC) #4
scherkus (not reviewing)
https://codereview.chromium.org/66953005/diff/440021/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/66953005/diff/440021/content/renderer/media/webmediaplayer_impl.cc#newcode120 content/renderer/media/webmediaplayer_impl.cc:120: template <class T> On 2014/01/09 01:57:07, Ami Fischman wrote: ...
6 years, 11 months ago (2014-01-09 02:14:45 UTC) #5
Ami GONE FROM CHROMIUM
Ship it! On Jan 8, 2014 6:14 PM, <scherkus@chromium.org> wrote: > > https://codereview.chromium.org/66953005/diff/440021/ > content/renderer/media/webmediaplayer_impl.cc ...
6 years, 11 months ago (2014-01-09 02:34:43 UTC) #6
scherkus (not reviewing)
On 2014/01/09 02:34:43, Ami Fischman wrote: > Ship it! > On Jan 8, 2014 6:14 ...
6 years, 11 months ago (2014-01-09 03:05:01 UTC) #7
scherkus (not reviewing)
On 2014/01/09 02:34:43, Ami Fischman wrote: > Ship it! > On Jan 8, 2014 6:14 ...
6 years, 11 months ago (2014-01-09 03:05:02 UTC) #8
Ami GONE FROM CHROMIUM
On 2014/01/09 03:05:02, scherkus wrote: > On 2014/01/09 02:34:43, Ami Fischman wrote: > > Ship ...
6 years, 11 months ago (2014-01-09 19:03:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/66953005/810001
6 years, 11 months ago (2014-01-09 20:05:38 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 21:45:33 UTC) #11
Message was sent while issue was closed.
Change committed as 243983

Powered by Google App Engine
This is Rietveld 408576698