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

Issue 6171009: Remove MessageLoop methods from Filter interface (Closed)

Created:
9 years, 11 months ago by acolwell GONE FROM CHROMIUM
Modified:
9 years, 6 months ago
CC:
chromium-reviews, vrk (LEFT CHROMIUM), sjl, Alpha Left Google, ddorwin+watch_chromium.org, brettw-cc_chromium.org, acolwell GONE FROM CHROMIUM, annacc, darin-cc_chromium.org, awong, Paweł Hajdan Jr., pam+watch_chromium.org, scherkus (not reviewing)
Visibility:
Public.

Description

Remove MessageLoop methods from Filter interface to separate Filter management from MessageLoop management. This sets the stage for filters to share threads in the future which will reduce resource consumption when multiple <video> tags are on the same page. BUG=69451 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71548

Patch Set 1 #

Total comments: 2

Patch Set 2 : Apply CR suggestions & fix style issues. #

Total comments: 18

Patch Set 3 : Applied more CR suggestions & removed message_loop() methods where possible. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -344 lines) Patch
M chrome/renderer/media/audio_renderer_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 3 chunks +6 lines, -1 line 0 comments Download
M media/base/composite_filter.h View 1 4 chunks +5 lines, -28 lines 0 comments Download
M media/base/composite_filter.cc View 1 6 chunks +9 lines, -67 lines 0 comments Download
M media/base/composite_filter_unittest.cc View 2 chunks +3 lines, -29 lines 0 comments Download
M media/base/filters.h View 6 chunks +0 lines, -26 lines 0 comments Download
M media/base/filters.cc View 4 chunks +1 line, -44 lines 0 comments Download
A media/base/message_loop_factory.h View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A media/base/message_loop_factory.cc View 1 chunk +11 lines, -0 lines 0 comments Download
A media/base/message_loop_factory_impl.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A media/base/message_loop_factory_impl.cc View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M media/base/mock_filters.h View 2 chunks +0 lines, -7 lines 0 comments Download
M media/base/mock_filters.cc View 1 chunk +1 line, -15 lines 0 comments Download
M media/filters/decoder_base.h View 1 2 13 chunks +21 lines, -16 lines 0 comments Download
M media/filters/decoder_base_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 10 chunks +20 lines, -14 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 3 chunks +6 lines, -5 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 2 17 chunks +30 lines, -28 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M media/filters/omx_video_decoder.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M media/filters/omx_video_decoder.cc View 1 2 12 chunks +23 lines, -21 lines 0 comments Download
M media/media.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
M media/tools/player_wtl/movie.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/tools/player_wtl/movie.cc View 1 4 chunks +13 lines, -8 lines 0 comments Download
M media/tools/player_wtl/view.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 5 chunks +19 lines, -6 lines 0 comments Download
M media/tools/player_x11/x11_video_renderer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.cc View 1 4 chunks +15 lines, -9 lines 0 comments Download
M webkit/support/webkit_support.cc View 1 3 chunks +7 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
acolwell GONE FROM CHROMIUM
9 years, 11 months ago (2011-01-12 22:20:15 UTC) #1
scherkus (not reviewing)
this is really cool! I like the idea of pulling more of the filter configuration ...
9 years, 11 months ago (2011-01-13 06:28:12 UTC) #2
acolwell GONE FROM CHROMIUM
Applied suggested changes and fixed a variety of style issues. http://codereview.chromium.org/6171009/diff/1/media/base/message_loop_factory.h File media/base/message_loop_factory.h (right): http://codereview.chromium.org/6171009/diff/1/media/base/message_loop_factory.h#newcode16 ...
9 years, 11 months ago (2011-01-13 23:15:00 UTC) #3
scherkus (not reviewing)
LGTM + maybe attempt to clean up the message loop functions if at all possible ...
9 years, 11 months ago (2011-01-13 23:52:50 UTC) #4
acolwell GONE FROM CHROMIUM
Applied suggested changes and removed message_loop() methods where possible. http://codereview.chromium.org/6171009/diff/5001/media/base/message_loop_factory.h File media/base/message_loop_factory.h (right): http://codereview.chromium.org/6171009/diff/5001/media/base/message_loop_factory.h#newcode5 media/base/message_loop_factory.h:5: ...
9 years, 11 months ago (2011-01-14 01:14:12 UTC) #5
scherkus (not reviewing)
9 years, 11 months ago (2011-01-14 01:15:37 UTC) #6
nice!  LGTM!

Powered by Google App Engine
This is Rietveld 408576698