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

Issue 11468033: Vanquish the remnants of media::MessageLoopFactory. (Closed)

Created:
8 years ago by scherkus (not reviewing)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sadrul, feature-media-reviews_chromium.org, tburkard+watch_chromium.org, jam, joi+watch-content_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org, pam+watch_chromium.org, mmenke
Visibility:
Public.

Description

Vanquish the remnants of media::MessageLoopFactory. Now that media code runs on a single thread we no longer need to worry about creating additional threads at runtime. To make changes like this easier in the future, webkit_media::WebMediaPlayerParams is introduced to avoid plumbing parameters through Chrome's various abstraction layers. BUG=116873 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174808

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : WebMediaPlayerParams #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : base files missing wtffff #

Patch Set 10 : #

Patch Set 11 : constref #

Total comments: 4

Patch Set 12 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -316 lines) Patch
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -10 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/renderer/prerender/prerender_webmediaplayer.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -12 lines 0 comments Download
M chrome/renderer/prerender/prerender_webmediaplayer.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -18 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -15 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -11 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +9 lines, -16 lines 0 comments Download
media/base/message_loop_factory.h View 1 2 1 chunk +0 lines, -62 lines 0 comments Download
D media/base/message_loop_factory.cc View 1 chunk +0 lines, -48 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 1 chunk +4 lines, -2 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 2 5 chunks +7 lines, -14 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +10 lines, -37 lines 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +26 lines, -26 lines 0 comments Download
A webkit/media/webmediaplayer_params.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +77 lines, -0 lines 0 comments Download
A webkit/media/webmediaplayer_params.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +28 lines, -0 lines 0 comments Download
M webkit/support/webkit_support.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -13 lines 0 comments Download
webkit/tools/test_shell/test_webview_delegate.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -13 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
scherkus (not reviewing)
acolwell: see gpu_video_decoder.h jam: see chrome/renderer/chrome_content_renderer_client.h https://codereview.chromium.org/11468033/diff/2001/chrome/renderer/chrome_content_renderer_client.h File chrome/renderer/chrome_content_renderer_client.h (right): https://codereview.chromium.org/11468033/diff/2001/chrome/renderer/chrome_content_renderer_client.h#newcode85 chrome/renderer/chrome_content_renderer_client.h:85: const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, ...
8 years ago (2012-12-07 23:54:11 UTC) #1
jam
https://codereview.chromium.org/11468033/diff/2001/chrome/renderer/chrome_content_renderer_client.h File chrome/renderer/chrome_content_renderer_client.h (right): https://codereview.chromium.org/11468033/diff/2001/chrome/renderer/chrome_content_renderer_client.h#newcode85 chrome/renderer/chrome_content_renderer_client.h:85: const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, On 2012/12/07 23:54:11, scherkus wrote: > ...
8 years ago (2012-12-10 04:23:03 UTC) #2
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/11468033/diff/2001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (left): https://codereview.chromium.org/11468033/diff/2001/content/renderer/render_view_impl.cc#oldcode2598 content/renderer/render_view_impl.cc:2598: media::AudioRendererImpl* audio_renderer = Why is this change here? It ...
8 years ago (2012-12-10 18:12:15 UTC) #3
scherkus (not reviewing)
PTAL -- went the params-struct route should have done something like this sooner! https://codereview.chromium.org/11468033/diff/2001/content/renderer/media/renderer_gpu_video_decoder_factories.h File ...
8 years ago (2012-12-21 22:41:39 UTC) #4
jam
lgtm
7 years, 12 months ago (2012-12-26 16:12:03 UTC) #5
acolwell GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/11468033/diff/12056/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/11468033/diff/12056/webkit/media/webmediaplayer_impl.cc#newcode161 webkit/media/webmediaplayer_impl.cc:161: // Let V8 know we started new thread ...
7 years, 12 months ago (2012-12-26 17:47:51 UTC) #6
scherkus (not reviewing)
7 years, 11 months ago (2013-01-02 17:01:48 UTC) #7
https://codereview.chromium.org/11468033/diff/12056/webkit/media/webmediaplay...
File webkit/media/webmediaplayer_impl.cc (right):

https://codereview.chromium.org/11468033/diff/12056/webkit/media/webmediaplay...
webkit/media/webmediaplayer_impl.cc:161: // Let V8 know we started new thread if
we did not did it yet.
On 2012/12/26 17:47:51, acolwell wrote:
> nit: s/did not did/did not do

Done.

Powered by Google App Engine
This is Rietveld 408576698