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

Issue 9372122: Make VideoCapture_Dev backward compatible. (Closed)

Created:
8 years, 10 months ago by yzshen1
Modified:
8 years, 10 months ago
Reviewers:
brettw, viettrungluu
CC:
chromium-reviews
Visibility:
Public.

Description

Make VideoCapture_Dev backward compatible. BUG=None TEST=ppapi/examples/video_capture works. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123848

Patch Set 1 #

Total comments: 8

Patch Set 2 : . #

Patch Set 3 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -30 lines) Patch
M ppapi/api/dev/ppb_video_capture_dev.idl View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/cpp/dev/video_capture_dev.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/cpp/dev/video_capture_dev.cc View 1 2 5 chunks +79 lines, -29 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
yzshen1
Hi, Brett and Trung. Please take a look: Brett: owner stamp. Trung: everything. Thanks!
8 years, 10 months ago (2012-02-22 22:44:09 UTC) #1
brettw
Rubber stamp LGTM (didn't look).
8 years, 10 months ago (2012-02-23 18:02:21 UTC) #2
viettrungluu
LGTM w/nits. http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev.cc File ppapi/cpp/dev/video_capture_dev.cc (right): http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev.cc#newcode126 ppapi/cpp/dev/video_capture_dev.cc:126: } Nit: Maybe you should return something ...
8 years, 10 months ago (2012-02-27 19:29:19 UTC) #3
yzshen1
8 years, 10 months ago (2012-02-27 19:38:07 UTC) #4
Thanks, Trung.

http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev.cc
File ppapi/cpp/dev/video_capture_dev.cc (right):

http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev...
ppapi/cpp/dev/video_capture_dev.cc:126: }
On 2012/02/27 19:29:19, viettrungluu wrote:
> Nit: Maybe you should return something other than PP_ERROR_NOINTERFACE in the
> case that device_ref isn't null? Maybe PP_ERROR_NOTSUPPORTED?
> 
> (In which case, the "else" is unnecessary.)

Done.

http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev...
ppapi/cpp/dev/video_capture_dev.cc:136: } else if
(has_interface<PPB_VideoCapture_Dev_0_1>()) {
On 2012/02/27 19:29:19, viettrungluu wrote:
> "else" unneeded.

Done.

http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev...
ppapi/cpp/dev/video_capture_dev.cc:148: } else if
(has_interface<PPB_VideoCapture_Dev_0_1>()) {
On 2012/02/27 19:29:19, viettrungluu wrote:
> "

Done.

http://codereview.chromium.org/9372122/diff/1/ppapi/cpp/dev/video_capture_dev...
ppapi/cpp/dev/video_capture_dev.cc:160: } else if
(has_interface<PPB_VideoCapture_Dev_0_1>()) {
On 2012/02/27 19:29:19, viettrungluu wrote:
> "

Done.

Powered by Google App Engine
This is Rietveld 408576698