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

Issue 6902166: Add VideoCaptureImpl (Closed)

Created:
9 years, 7 months ago by wjia(left Chromium)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell GONE FROM CHROMIUM, annacc, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM)
Visibility:
Public.

Description

Add VideoCaptureImpl and VideoCaptureImplManager BUG=none TEST=try bots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86758

Patch Set 1 #

Patch Set 2 : extra care for AddDelegate and RemoveDelegate #

Patch Set 3 : change handling of delegate #

Patch Set 4 : '' #

Patch Set 5 : coding style #

Total comments: 59

Patch Set 6 : separate ImplManager and first version of unit test #

Patch Set 7 : remove try loop #

Patch Set 8 : fix unit test #

Patch Set 9 : '' #

Total comments: 18

Patch Set 10 : change based on code review #

Patch Set 11 : add time out for StartCapture #

Total comments: 14

Patch Set 12 : change from review #

Total comments: 6

Patch Set 13 : another round of review #

Patch Set 14 : replace timeout with callback #

Patch Set 15 : use correct gyp files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+846 lines, -17 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 14 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 14 1 chunk +4 lines, -0 lines 0 comments Download
A content/renderer/media/video_capture_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +111 lines, -0 lines 0 comments Download
A content/renderer/media/video_capture_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +386 lines, -0 lines 0 comments Download
A content/renderer/media/video_capture_impl_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +67 lines, -0 lines 0 comments Download
A content/renderer/media/video_capture_impl_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +115 lines, -0 lines 0 comments Download
A content/renderer/media/video_capture_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +107 lines, -0 lines 0 comments Download
M content/renderer/video_capture_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -3 lines 0 comments Download
M content/renderer/video_capture_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +21 lines, -3 lines 0 comments Download
M content/renderer/video_capture_message_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +26 lines, -11 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
scherkus (not reviewing)
Is this one ready for review?
9 years, 7 months ago (2011-05-06 06:27:34 UTC) #1
wjia(left Chromium)
Andrew, It's ready for review now. This one depends on http://codereview.chromium.org/6951013/ for MessageLoopProxy. On 2011/05/06 ...
9 years, 7 months ago (2011-05-07 01:01:24 UTC) #2
scherkus (not reviewing)
mostly concerned about threading http://codereview.chromium.org/6902166/diff/11001/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/11001/content/renderer/media/video_capture_impl.cc#newcode64 content/renderer/media/video_capture_impl.cc:64: if (vc) { not sure ...
9 years, 7 months ago (2011-05-14 23:33:42 UTC) #3
wjia(left Chromium)
Andrew, Could you take another look? http://codereview.chromium.org/6902166/diff/11001/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/11001/content/renderer/media/video_capture_impl.cc#newcode64 content/renderer/media/video_capture_impl.cc:64: if (vc) { ...
9 years, 7 months ago (2011-05-17 04:00:25 UTC) #4
scherkus (not reviewing)
http://codereview.chromium.org/6902166/diff/21004/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/21004/content/renderer/media/video_capture_impl.cc#newcode14 content/renderer/media/video_capture_impl.cc:14: mapped_memory(ptr) { indentation http://codereview.chromium.org/6902166/diff/21004/content/renderer/media/video_capture_impl.cc#newcode112 content/renderer/media/video_capture_impl.cc:112: ml_proxy_->PostDelayedTask(FROM_HERE, so now there ...
9 years, 7 months ago (2011-05-23 03:45:54 UTC) #5
wjia(left Chromium)
http://codereview.chromium.org/6902166/diff/21004/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/21004/content/renderer/media/video_capture_impl.cc#newcode14 content/renderer/media/video_capture_impl.cc:14: mapped_memory(ptr) { On 2011/05/23 03:45:54, scherkus wrote: > indentation ...
9 years, 7 months ago (2011-05-23 21:23:51 UTC) #6
scherkus (not reviewing)
LGTM and we'll iterate
9 years, 7 months ago (2011-05-23 21:59:25 UTC) #7
jam
http://codereview.chromium.org/6902166/diff/29003/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/29003/content/renderer/media/video_capture_impl.cc#newcode9 content/renderer/media/video_capture_impl.cc:9: #include "content/common/view_messages.h" nit: why add this? http://codereview.chromium.org/6902166/diff/29003/content/renderer/media/video_capture_impl.cc#newcode15 content/renderer/media/video_capture_impl.cc:15: kTryTimes ...
9 years, 7 months ago (2011-05-24 19:15:41 UTC) #8
wjia(left Chromium)
John, Could you take another look? http://codereview.chromium.org/6902166/diff/29003/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/29003/content/renderer/media/video_capture_impl.cc#newcode9 content/renderer/media/video_capture_impl.cc:9: #include "content/common/view_messages.h" On ...
9 years, 7 months ago (2011-05-24 20:47:15 UTC) #9
jam
http://codereview.chromium.org/6902166/diff/32004/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/32004/content/renderer/media/video_capture_impl.cc#newcode13 content/renderer/media/video_capture_impl.cc:13: enum { kTryTimes = 1000 }; enums are used ...
9 years, 7 months ago (2011-05-25 17:21:51 UTC) #10
wjia(left Chromium)
Thanks, John! Those 3 places have been changed accordingly in Patch Set 13. On 2011/05/25 ...
9 years, 7 months ago (2011-05-25 19:26:03 UTC) #11
wjia(left Chromium)
http://codereview.chromium.org/6902166/diff/32004/content/renderer/media/video_capture_impl.cc File content/renderer/media/video_capture_impl.cc (right): http://codereview.chromium.org/6902166/diff/32004/content/renderer/media/video_capture_impl.cc#newcode13 content/renderer/media/video_capture_impl.cc:13: enum { kTryTimes = 1000 }; On 2011/05/25 17:21:52, ...
9 years, 7 months ago (2011-05-25 19:26:23 UTC) #12
jam
lgtm
9 years, 7 months ago (2011-05-25 19:35:46 UTC) #13
jam
On 2011/05/25 19:35:46, John Abd-El-Malek wrote: > lgtm sorry, actually hold off on checking this ...
9 years, 7 months ago (2011-05-25 19:38:34 UTC) #14
jam
On 2011/05/25 19:38:34, John Abd-El-Malek wrote: > On 2011/05/25 19:35:46, John Abd-El-Malek wrote: > > ...
9 years, 7 months ago (2011-05-25 19:41:03 UTC) #15
wjia(left Chromium)
On 2011/05/25 19:41:03, John Abd-El-Malek wrote: > On 2011/05/25 19:38:34, John Abd-El-Malek wrote: > > ...
9 years, 7 months ago (2011-05-25 23:23:47 UTC) #16
jam
9 years, 7 months ago (2011-05-26 00:08:08 UTC) #17
lgtm, thanks

Powered by Google App Engine
This is Rietveld 408576698