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

Issue 2005053006: Cleanup naming issue with content::VideoFrameProvider (Closed)

Created:
4 years, 7 months ago by chfremer
Modified:
4 years, 6 months ago
Reviewers:
emircan, no sievers
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, imcheng+watch_chromium.org, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, Peter Beverloo, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, jasonroberts+watch_google.com, mkwst+moarreviews-renderer_chromium.org, xjz+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, isheriff+watch_chromium.org, jochen+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup naming issue with content::VideoFrameProvider The name content::VideoFrameProvider was easy to cause confusion with cc:VideoFrameProvider. Furthermore, the methods provided in the content::VideoFrameProvider are not specific to Video, which makes the name somewhat unsuitable. List of changes: * Moved the typedef content::VideoFrameProvider::RepaintCB out to a new file and renamed it to VideoFrameCallback. * Renamed interface VideoFrameProvider to PausableStream * Renamed method Play() to Resume() BUG=526835 Committed: https://crrev.com/bcfff02130887b36724a2cc6874cbcc792ce985d Cr-Commit-Position: refs/heads/master@{#398071}

Patch Set 1 #

Total comments: 13

Patch Set 2 : ReviseForConsistency #

Total comments: 4

Patch Set 3 : Address Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -314 lines) Patch
M content/content_renderer.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/content_shell.gypi View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/renderer/media_stream_renderer_factory.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + content/public/renderer/media_stream_video_renderer.h View 1 4 chunks +10 lines, -10 lines 0 comments Download
D content/public/renderer/video_frame_provider.h View 1 chunk +0 lines, -49 lines 0 comments Download
M content/renderer/media/media_stream_renderer_factory_impl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_renderer_factory_impl.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_video_renderer_sink.h View 1 3 chunks +12 lines, -11 lines 0 comments Download
M content/renderer/media/media_stream_video_renderer_sink.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_video_renderer_sink_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_ms.h View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 1 19 chunks +39 lines, -37 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/test_media_stream_renderer_factory.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/test_media_stream_renderer_factory.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
A + content/shell/renderer/layout_test/test_media_stream_video_renderer.h View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
A + content/shell/renderer/layout_test/test_media_stream_video_renderer.cc View 1 2 4 chunks +17 lines, -16 lines 0 comments Download
M content/shell/renderer/layout_test/test_video_frame_provider.h View 1 2 1 chunk +0 lines, -64 lines 0 comments Download
M content/shell/renderer/layout_test/test_video_frame_provider.cc View 1 2 1 chunk +0 lines, -82 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
chfremer
4 years, 7 months ago (2016-05-25 20:58:16 UTC) #3
emircan
https://codereview.chromium.org/2005053006/diff/1/content/public/renderer/pausable_stream.h File content/public/renderer/pausable_stream.h (right): https://codereview.chromium.org/2005053006/diff/1/content/public/renderer/pausable_stream.h#newcode13 content/public/renderer/pausable_stream.h:13: class PausableStream I understand that you tried to name ...
4 years, 7 months ago (2016-05-25 22:18:05 UTC) #4
chfremer
https://codereview.chromium.org/2005053006/diff/1/content/public/renderer/pausable_stream.h File content/public/renderer/pausable_stream.h (right): https://codereview.chromium.org/2005053006/diff/1/content/public/renderer/pausable_stream.h#newcode13 content/public/renderer/pausable_stream.h:13: class PausableStream On 2016/05/25 22:18:04, emircan wrote: > I ...
4 years, 7 months ago (2016-05-26 00:10:11 UTC) #5
emircan
https://codereview.chromium.org/2005053006/diff/1/content/public/renderer/pausable_stream.h File content/public/renderer/pausable_stream.h (right): https://codereview.chromium.org/2005053006/diff/1/content/public/renderer/pausable_stream.h#newcode13 content/public/renderer/pausable_stream.h:13: class PausableStream On 2016/05/26 00:10:11, chfremer wrote: > On ...
4 years, 6 months ago (2016-05-27 19:37:37 UTC) #6
chfremer
I started from scratch in order to stay more consistent with the existing style. Here ...
4 years, 6 months ago (2016-05-27 23:36:56 UTC) #8
emircan
https://codereview.chromium.org/2005053006/diff/40001/content/renderer/media/webmediaplayer_ms.h File content/renderer/media/webmediaplayer_ms.h (right): https://codereview.chromium.org/2005053006/diff/40001/content/renderer/media/webmediaplayer_ms.h#newcode201 content/renderer/media/webmediaplayer_ms.h:201: scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; // Weak Can you make this one ...
4 years, 6 months ago (2016-05-31 18:13:13 UTC) #9
chfremer
* Addressed comments. * Added missing file name change in gypi file. https://codereview.chromium.org/2005053006/diff/40001/content/renderer/media/webmediaplayer_ms.h File content/renderer/media/webmediaplayer_ms.h ...
4 years, 6 months ago (2016-05-31 22:09:26 UTC) #11
emircan
lgtm
4 years, 6 months ago (2016-05-31 22:24:10 UTC) #12
chfremer
sievers@chromium.org: Please do an owner's review.
4 years, 6 months ago (2016-05-31 22:27:26 UTC) #15
no sievers
On 2016/05/31 22:27:26, chfremer wrote: > mailto:sievers@chromium.org: Please do an owner's review. lgtm
4 years, 6 months ago (2016-06-01 22:35:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005053006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005053006/80001
4 years, 6 months ago (2016-06-01 22:38:21 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239327)
4 years, 6 months ago (2016-06-02 01:59:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005053006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005053006/80001
4 years, 6 months ago (2016-06-02 18:34:44 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/builds/15690)
4 years, 6 months ago (2016-06-03 00:34:40 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005053006/80001
4 years, 6 months ago (2016-06-06 16:16:31 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 6 months ago (2016-06-06 18:30:03 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 18:31:12 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bcfff02130887b36724a2cc6874cbcc792ce985d
Cr-Commit-Position: refs/heads/master@{#398071}

Powered by Google App Engine
This is Rietveld 408576698