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

Issue 720043003: Use factory method to create VideoCaptureDeviceFactory . (Closed)

Created:
6 years, 1 month ago by ostap
Modified:
6 years, 1 month ago
Reviewers:
perkj_chrome, mcasas
CC:
chromium-reviews, posciak+watch_chromium.org, avayvod+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use factory method to create VideoCaptureDeviceFactory . Cleaner code with less ifdefs. Committed: https://crrev.com/289116483a8f2668dca75a78e0e1364d09943885 Cr-Commit-Position: refs/heads/master@{#305398}

Patch Set 1 #

Patch Set 2 : Add ui_task_runner parameter to factory method. #

Total comments: 6

Patch Set 3 : Fixes by review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -26 lines) Patch
M media/video/capture/android/video_capture_device_factory_android.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M media/video/capture/linux/video_capture_device_factory_linux.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M media/video/capture/mac/video_capture_device_factory_mac.mm View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_device_factory.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_device_factory.cc View 1 2 3 chunks +12 lines, -26 lines 0 comments Download
M media/video/capture/win/video_capture_device_factory_win.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
ostap
6 years, 1 month ago (2014-11-13 21:42:35 UTC) #2
perkj_chrome
lgtm please remove the line bug= if there is no bug number. mcasas, do you ...
6 years, 1 month ago (2014-11-14 13:34:00 UTC) #4
ostap
On 2014/11/14 13:34:00, perkj wrote: > lgtm > > please remove the line bug= if ...
6 years, 1 month ago (2014-11-19 19:34:58 UTC) #5
mcasas
Couple of comments. https://codereview.chromium.org/720043003/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc File media/video/capture/linux/video_capture_device_factory_linux.cc (right): https://codereview.chromium.org/720043003/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc#newcode198 media/video/capture/linux/video_capture_device_factory_linux.cc:198: // static. Remove dot https://codereview.chromium.org/720043003/diff/20001/media/video/capture/mac/video_capture_device_factory_mac.mm File ...
6 years, 1 month ago (2014-11-19 22:25:33 UTC) #6
ostap
https://codereview.chromium.org/720043003/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc File media/video/capture/linux/video_capture_device_factory_linux.cc (right): https://codereview.chromium.org/720043003/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc#newcode198 media/video/capture/linux/video_capture_device_factory_linux.cc:198: // static. On 2014/11/19 22:25:32, mcasas wrote: > Remove ...
6 years, 1 month ago (2014-11-20 15:47:17 UTC) #7
ostap
On 2014/11/20 15:47:17, ostap wrote: > https://codereview.chromium.org/720043003/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc > File media/video/capture/linux/video_capture_device_factory_linux.cc (right): > > https://codereview.chromium.org/720043003/diff/20001/media/video/capture/linux/video_capture_device_factory_linux.cc#newcode198 > ...
6 years, 1 month ago (2014-11-24 03:41:29 UTC) #8
mcasas
lgtm
6 years, 1 month ago (2014-11-24 03:43:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720043003/40001
6 years, 1 month ago (2014-11-24 03:48:26 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-24 04:33:39 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-24 04:34:22 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/289116483a8f2668dca75a78e0e1364d09943885
Cr-Commit-Position: refs/heads/master@{#305398}

Powered by Google App Engine
This is Rietveld 408576698