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

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed)

Created:
6 years, 3 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 3 months ago
CC:
chromium-reviews, creis+watch_chromium.org, eme-reviews_chromium.org, posciak+watch_chromium.org, avayvod+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move WebMediaPlayerImpl and its dependencies to media/blink. Moving WebMediaPlayerImpl and related classes in content/renderer/media to media/blink so that they can be reused by Mojo code. BUG=408338 Committed: https://crrev.com/9e0840d0672da96350a1f33d684f2c64d2574f46 Cr-Commit-Position: refs/heads/master@{#293628}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix build busters #

Patch Set 4 : Build Fixes #

Patch Set 5 : #

Patch Set 6 : Add BUILD.gn #

Patch Set 7 : Rebase #

Patch Set 8 : Fix UMA presubmit issue. #

Patch Set 9 : Disable UMA_MAX presubmit check for BufferedResourceLoader. #

Patch Set 10 : Fix Android build busters. #

Patch Set 11 : More Android fixes #

Total comments: 5

Patch Set 12 : Move BufferedDataSource and BufferedResourceLoader tests and supporting logic. #

Patch Set 13 : Rebase #

Patch Set 14 : Fix build busters #

Patch Set 15 : Build fixes #

Patch Set 16 : Exclude media/blink from Android GN builds for now like cc/blink does. #

Total comments: 20

Patch Set 17 : Address CR comments and fix linux GN build #

Patch Set 18 : Rebase #

Patch Set 19 : Fix windows build errors #

Patch Set 20 : Fix more windows build errors. #

Patch Set 21 : . #

Patch Set 22 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+766 lines, -8124 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +1 line, -31 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +1 line, -8 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +1 line, -1 line 0 comments Download
D content/renderer/media/active_loader.h View 1 chunk +0 lines, -42 lines 0 comments Download
D content/renderer/media/active_loader.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M content/renderer/media/android/media_info_loader.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/android/media_info_loader.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/media_source_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +6 lines, -6 lines 0 comments Download
D content/renderer/media/buffered_data_source.h View 1 2 3 4 5 6 1 chunk +0 lines, -243 lines 0 comments Download
D content/renderer/media/buffered_data_source.cc View 1 2 3 4 5 6 1 chunk +0 lines, -536 lines 0 comments Download
D content/renderer/media/buffered_data_source_host_impl.h View 1 chunk +0 lines, -51 lines 0 comments Download
D content/renderer/media/buffered_data_source_host_impl.cc View 1 chunk +0 lines, -58 lines 0 comments Download
D content/renderer/media/buffered_data_source_host_impl_unittest.cc View 1 chunk +0 lines, -75 lines 0 comments Download
M content/renderer/media/buffered_data_source_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -780 lines 0 comments Download
D content/renderer/media/buffered_resource_loader.h View 1 chunk +0 lines, -323 lines 0 comments Download
D content/renderer/media/buffered_resource_loader.cc View 1 chunk +0 lines, -787 lines 0 comments Download
M content/renderer/media/buffered_resource_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1131 lines 0 comments Download
D content/renderer/media/cache_util.h View 1 chunk +0 lines, -41 lines 0 comments Download
D content/renderer/media/cache_util.cc View 1 chunk +0 lines, -87 lines 0 comments Download
D content/renderer/media/cache_util_unittest.cc View 1 chunk +0 lines, -97 lines 0 comments Download
D content/renderer/media/crypto/encrypted_media_player_support.h View 1 2 3 4 5 6 1 chunk +0 lines, -79 lines 0 comments Download
D content/renderer/media/crypto/encrypted_media_player_support.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M content/renderer/media/crypto/encrypted_media_player_support_impl.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/crypto/encrypted_media_player_support_impl.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
D content/renderer/media/test_response_generator.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -66 lines 0 comments Download
D content/renderer/media/test_response_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -101 lines 0 comments Download
D content/renderer/media/texttrack_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -61 lines 0 comments Download
D content/renderer/media/texttrack_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -70 lines 0 comments Download
D content/renderer/media/video_frame_compositor.h View 1 chunk +0 lines, -71 lines 0 comments Download
D content/renderer/media/video_frame_compositor.cc View 1 1 chunk +0 lines, -77 lines 0 comments Download
D content/renderer/media/video_frame_compositor_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -162 lines 0 comments Download
D content/renderer/media/webaudiosourceprovider_impl.h View 1 chunk +0 lines, -90 lines 0 comments Download
D content/renderer/media/webaudiosourceprovider_impl.cc View 1 chunk +0 lines, -189 lines 0 comments Download
D content/renderer/media/webaudiosourceprovider_impl_unittest.cc View 1 chunk +0 lines, -240 lines 0 comments Download
D content/renderer/media/webinbandtexttrack_impl.h View 1 chunk +0 lines, -45 lines 0 comments Download
D content/renderer/media/webinbandtexttrack_impl.cc View 1 chunk +0 lines, -58 lines 0 comments Download
D content/renderer/media/webmediaplayer_delegate.h View 1 chunk +0 lines, -34 lines 0 comments Download
D content/renderer/media/webmediaplayer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -322 lines 0 comments Download
D content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1036 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.h View 4 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
D content/renderer/media/webmediaplayer_params.h View 1 2 3 4 5 6 1 chunk +0 lines, -104 lines 0 comments Download
D content/renderer/media/webmediaplayer_params.cc View 1 2 3 4 5 6 1 chunk +0 lines, -44 lines 0 comments Download
D content/renderer/media/webmediaplayer_util.h View 1 chunk +0 lines, -34 lines 0 comments Download
D content/renderer/media/webmediaplayer_util.cc View 1 chunk +0 lines, -119 lines 0 comments Download
D content/renderer/media/webmediasource_impl.h View 1 chunk +0 lines, -44 lines 0 comments Download
D content/renderer/media/webmediasource_impl.cc View 1 chunk +0 lines, -86 lines 0 comments Download
D content/renderer/media/websourcebuffer_impl.h View 1 chunk +0 lines, -57 lines 0 comments Download
D content/renderer/media/websourcebuffer_impl.cc View 1 chunk +0 lines, -134 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +7 lines, -5 lines 0 comments Download
M media/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M media/base/data_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -1 line 0 comments Download
M media/base/data_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -3 lines 0 comments Download
A media/blink/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +87 lines, -0 lines 0 comments Download
A media/blink/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
A + media/blink/active_loader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -6 lines 0 comments Download
A + media/blink/active_loader.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + media/blink/buffered_data_source.h View 1 2 3 4 5 6 7 chunks +12 lines, -15 lines 0 comments Download
A + media/blink/buffered_data_source.cc View 1 2 3 4 5 6 7 chunks +9 lines, -10 lines 0 comments Download
A + media/blink/buffered_data_source_host_impl.h View 4 chunks +10 lines, -10 lines 0 comments Download
A + media/blink/buffered_data_source_host_impl.cc View 3 chunks +6 lines, -6 lines 0 comments Download
A + media/blink/buffered_data_source_host_impl_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
A + media/blink/buffered_data_source_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +8 lines, -9 lines 0 comments Download
A + media/blink/buffered_resource_loader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +11 lines, -14 lines 0 comments Download
A + media/blink/buffered_resource_loader.cc View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -8 lines 0 comments Download
A + media/blink/buffered_resource_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +6 lines, -6 lines 0 comments Download
A + media/blink/cache_util.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + media/blink/cache_util.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + media/blink/cache_util_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + media/blink/encrypted_media_player_support.h View 1 2 3 4 5 6 4 chunks +9 lines, -8 lines 0 comments Download
A + media/blink/encrypted_media_player_support.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A media/blink/media_blink.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +104 lines, -0 lines 0 comments Download
A media/blink/mock_webframeclient.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +16 lines, -0 lines 0 comments Download
A + media/blink/mock_weburlloader.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -6 lines 0 comments Download
A + media/blink/mock_weburlloader.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -4 lines 0 comments Download
A media/blink/run_all_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +85 lines, -0 lines 0 comments Download
A + media/blink/test_response_generator.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -5 lines 0 comments Download
A + media/blink/test_response_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -3 lines 0 comments Download
A + media/blink/texttrack_impl.h View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download
A + media/blink/texttrack_impl.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
A + media/blink/video_frame_compositor.h View 4 chunks +10 lines, -13 lines 0 comments Download
A + media/blink/video_frame_compositor.cc View 1 3 chunks +17 lines, -17 lines 0 comments Download
A + media/blink/video_frame_compositor_unittest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -5 lines 0 comments Download
A + media/blink/webaudiosourceprovider_impl.h View 5 chunks +15 lines, -15 lines 0 comments Download
A + media/blink/webaudiosourceprovider_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 8 chunks +16 lines, -12 lines 0 comments Download
A + media/blink/webaudiosourceprovider_impl_unittest.cc View 6 chunks +12 lines, -12 lines 0 comments Download
A + media/blink/webinbandtexttrack_impl.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + media/blink/webinbandtexttrack_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/blink/webmediaplayer_delegate.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + media/blink/webmediaplayer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +31 lines, -34 lines 0 comments Download
A + media/blink/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 34 chunks +65 lines, -67 lines 0 comments Download
A + media/blink/webmediaplayer_params.h View 1 2 3 4 5 6 6 chunks +19 lines, -21 lines 0 comments Download
A + media/blink/webmediaplayer_params.cc View 1 2 3 4 5 6 2 chunks +7 lines, -7 lines 0 comments Download
A + media/blink/webmediaplayer_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +12 lines, -11 lines 0 comments Download
A + media/blink/webmediaplayer_util.cc View 1 2 3 4 5 6 7 5 chunks +24 lines, -23 lines 0 comments Download
A + media/blink/webmediasource_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +10 lines, -11 lines 0 comments Download
A + media/blink/webmediasource_impl.cc View 5 chunks +9 lines, -9 lines 0 comments Download
A + media/blink/websourcebuffer_impl.h View 4 chunks +6 lines, -9 lines 0 comments Download
A + media/blink/websourcebuffer_impl.cc View 4 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
acolwell GONE FROM CHROMIUM
jamesr: Please OWNERS review content/renderer/render_frame_impl.* scherkus: Please review everything.
6 years, 3 months ago (2014-09-02 18:33:52 UTC) #2
jamesr
lgtm https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc File content/renderer/media/buffered_data_source_unittest.cc (right): https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc#newcode36 content/renderer/media/buffered_data_source_unittest.cc:36: namespace media { so long as this test ...
6 years, 3 months ago (2014-09-02 19:26:45 UTC) #3
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc File content/renderer/media/buffered_data_source_unittest.cc (right): https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc#newcode36 content/renderer/media/buffered_data_source_unittest.cc:36: namespace media { On 2014/09/02 19:26:44, jamesr wrote: > ...
6 years, 3 months ago (2014-09-02 20:20:25 UTC) #4
scherkus (not reviewing)
https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc File content/renderer/media/buffered_data_source_unittest.cc (right): https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc#newcode36 content/renderer/media/buffered_data_source_unittest.cc:36: namespace media { On 2014/09/02 20:20:25, acolwell wrote: > ...
6 years, 3 months ago (2014-09-02 20:29:52 UTC) #5
jamesr
On 2014/09/02 20:20:25, acolwell wrote: > https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc > File content/renderer/media/buffered_data_source_unittest.cc (right): > > https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc#newcode36 > ...
6 years, 3 months ago (2014-09-02 20:32:31 UTC) #6
scherkus (not reviewing)
On 2014/09/02 20:29:52, scherkus wrote: > https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc > File content/renderer/media/buffered_data_source_unittest.cc (right): > > https://codereview.chromium.org/495353003/diff/200001/content/renderer/media/buffered_data_source_unittest.cc#newcode36 > ...
6 years, 3 months ago (2014-09-02 20:44:20 UTC) #7
acolwell GONE FROM CHROMIUM
scherkus: PTAL. I've moved the 2 offending tests out of content along with the few ...
6 years, 3 months ago (2014-09-04 22:31:44 UTC) #8
scherkus (not reviewing)
lgtm w/ a whole bunch of nits https://codereview.chromium.org/495353003/diff/300001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/495353003/diff/300001/BUILD.gn#newcode195 BUILD.gn:195: "//media/blink", # ...
6 years, 3 months ago (2014-09-04 23:00:37 UTC) #9
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/495353003/diff/300001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/495353003/diff/300001/BUILD.gn#newcode195 BUILD.gn:195: "//media/blink", # Blocked on blink On 2014/09/04 23:00:36, scherkus ...
6 years, 3 months ago (2014-09-05 00:23:44 UTC) #10
acolwell GONE FROM CHROMIUM
brettw: net OWNERs review for media/blink/DEPS please.
6 years, 3 months ago (2014-09-05 21:10:21 UTC) #12
acolwell GONE FROM CHROMIUM
On 2014/09/05 21:10:21, acolwell wrote: > brettw: net OWNERs review for media/blink/DEPS please. Oops. Misread ...
6 years, 3 months ago (2014-09-05 21:15:10 UTC) #13
acolwell GONE FROM CHROMIUM
mef: Please OWNERS review net/ dependencies in media/blink/DEPS
6 years, 3 months ago (2014-09-05 21:17:01 UTC) #15
mef
lgtm
6 years, 3 months ago (2014-09-05 21:25:52 UTC) #16
brettw
BUILD.gn lgtm
6 years, 3 months ago (2014-09-05 23:26:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/495353003/420001
6 years, 3 months ago (2014-09-06 00:49:30 UTC) #19
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 12:27:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/495353003/420001
6 years, 3 months ago (2014-09-06 19:00:28 UTC) #23
commit-bot: I haz the power
Committed patchset #22 (id:420001) as e934ba664c93b6876065e4f177cd11a9391985ad
6 years, 3 months ago (2014-09-06 19:05:05 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:43:07 UTC) #25
Message was sent while issue was closed.
Patchset 22 (id:??) landed as
https://crrev.com/9e0840d0672da96350a1f33d684f2c64d2574f46
Cr-Commit-Position: refs/heads/master@{#293628}

Powered by Google App Engine
This is Rietveld 408576698