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

Issue 941833004: VideoCaptureDevice: refactor Client::Buffer into an interface (Closed)

Created:
5 years, 10 months ago by mcasas
Modified:
5 years, 10 months ago
Reviewers:
perkj_chrome, emircan
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+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

VideoCaptureDevice: refactor Client::Buffer into an interface The semantics of VideoCaptureDevice::Client::Buffer do not belong where they are now [1]. Make it pure virtual and move the implementation to VCController. Rename the derived class to show its purpose. This also forces adaptation in StubClient of web_contents_video_capture...unittest.cc. [1] https://code.google.com/p/chromium/codesearch#chromium/src/media/video/capture/video_capture_device.h&sq=package:chromium&type=cs&l=176 BUG=440843 Committed: https://crrev.com/6e71c8ac2c81ba7e7ff6342b6c0bffcfce5b7949 Cr-Commit-Position: refs/heads/master@{#317334}

Patch Set 1 #

Total comments: 2

Patch Set 2 : perkj@ comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -23 lines) Patch
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 2 chunks +17 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 chunks +19 lines, -8 lines 0 comments Download
M media/video/capture/video_capture_device.h View 1 chunk +3 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
mcasas
emircan, perkj@ PTAL
5 years, 10 months ago (2015-02-20 02:25:07 UTC) #2
perkj_chrome
What is the purpose? Will you add another implementation of the buffer? If so, lgtm. ...
5 years, 10 months ago (2015-02-20 08:42:13 UTC) #3
mcasas
On 2015/02/20 08:42:13, perkj wrote: > What is the purpose? Will you add another implementation ...
5 years, 10 months ago (2015-02-20 15:25:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941833004/20001
5 years, 10 months ago (2015-02-20 15:26:40 UTC) #7
mcasas
https://codereview.chromium.org/941833004/diff/1/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/941833004/diff/1/content/browser/renderer_host/media/video_capture_controller.cc#newcode43 content/browser/renderer_host/media/video_capture_controller.cc:43: // Class coalescing a Client::Buffer interface implementation and a ...
5 years, 10 months ago (2015-02-20 15:59:06 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-20 16:29:41 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 16:30:20 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6e71c8ac2c81ba7e7ff6342b6c0bffcfce5b7949
Cr-Commit-Position: refs/heads/master@{#317334}

Powered by Google App Engine
This is Rietveld 408576698