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

Issue 1853743003: Remove platform_video_capturing_mac and the callback thread checker in VideoCaptureDeviceAVFoundati… (Closed)

Created:
4 years, 8 months ago by mcasas
Modified:
4 years, 8 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove platform_video_capturing_mac and the callback thread checker in VideoCaptureDeviceAVFoundation PlatformVideoCapturingMac is an interface used by VideoCaptureDeviceMac and implemented by the defunct VideoCaptureDeviceQTKit and VideoCaptureDeviceAVFoundation. Since this abstraction is not needed anymore, remove it. (FTR, an Obj-C |protocol| is sort of a base abstract class in C++). Also with https://crrev.com/1815983003, the thread checker |callback_thread_checker_| is not needed anymore since the code path to -setCaptureHeight:width:frameRate from that thread is gone, and we cannot make assumptions as to the thread on which the OS call with the captured frames. BUG=589096, 578277 TEST= all Mac capture working fine. Committed: https://crrev.com/586aca8418b6cd7889e8f29f08bae7317eebc347 Cr-Commit-Position: refs/heads/master@{#384913}

Patch Set 1 #

Total comments: 2

Patch Set 2 : removed extra line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -79 lines) Patch
M media/capture.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M media/capture/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D media/capture/video/mac/platform_video_capturing_mac.h View 1 chunk +0 lines, -52 lines 0 comments Download
M media/capture/video/mac/video_capture_device_avfoundation_mac.h View 3 chunks +1 line, -4 lines 0 comments Download
M media/capture/video/mac/video_capture_device_avfoundation_mac.mm View 1 2 chunks +4 lines, -11 lines 0 comments Download
M media/capture/video/mac/video_capture_device_mac.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/capture/video/mac/video_capture_device_mac.mm View 4 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
mcasas
rsesek@ PTAL at the Obj-C parts olka@: PTAL at the thread checker removal.
4 years, 8 months ago (2016-04-01 18:15:07 UTC) #2
Robert Sesek
LGTM https://codereview.chromium.org/1853743003/diff/1/media/capture/video/mac/video_capture_device_avfoundation_mac.mm File media/capture/video/mac/video_capture_device_avfoundation_mac.mm (right): https://codereview.chromium.org/1853743003/diff/1/media/capture/video/mac/video_capture_device_avfoundation_mac.mm#newcode354 media/capture/video/mac/video_capture_device_avfoundation_mac.mm:354: nit: remove extra blank line
4 years, 8 months ago (2016-04-01 18:56:10 UTC) #3
mcasas
o1ka@ PTAL https://codereview.chromium.org/1853743003/diff/1/media/capture/video/mac/video_capture_device_avfoundation_mac.mm File media/capture/video/mac/video_capture_device_avfoundation_mac.mm (right): https://codereview.chromium.org/1853743003/diff/1/media/capture/video/mac/video_capture_device_avfoundation_mac.mm#newcode354 media/capture/video/mac/video_capture_device_avfoundation_mac.mm:354: On 2016/04/01 18:56:09, Robert Sesek wrote: > ...
4 years, 8 months ago (2016-04-01 22:08:17 UTC) #5
mcasas
sandersd@: RS removing the one file from gyp/gns plz.
4 years, 8 months ago (2016-04-01 22:08:56 UTC) #7
sandersd (OOO until July 31)
lgtm
4 years, 8 months ago (2016-04-01 23:49:19 UTC) #8
o1ka
lgtm thread checker removal
4 years, 8 months ago (2016-04-04 13:20:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853743003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853743003/20001
4 years, 8 months ago (2016-04-04 14:12:08 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-04 15:33:18 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 15:36:05 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/586aca8418b6cd7889e8f29f08bae7317eebc347
Cr-Commit-Position: refs/heads/master@{#384913}

Powered by Google App Engine
This is Rietveld 408576698