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

Issue 2805863002: Remove VideoCaptureDeviceFactory::EnumerateDeviceDescriptors() (Closed)

Created:
3 years, 8 months ago by Chandan
Modified:
3 years, 8 months ago
Reviewers:
a.suchit2, mcasas, chfremer
CC:
chromium-reviews, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove VideoCaptureDeviceFactory::EnumerateDeviceDescriptors() The method VideoCaptureDeviceFactory::EnumerateDeviceDescriptors() is the asynchronous equivalent of method VideoCaptureDeviceFactory ::GetDeviceDescriptors(). Its current implementation delegates to GetDeviceDescriptors() and invokes the callback synchronously. This CL removes EnumerateDeviceDescriptors() and lets all clients call GetDeviceDescriptors() directly. BUG=708233 Review-Url: https://codereview.chromium.org/2805863002 Cr-Commit-Position: refs/heads/master@{#463346} Committed: https://chromium.googlesource.com/chromium/src/+/71618f5681772f3d76c8c9c1f7f24490074db4b3

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -142 lines) Patch
M media/capture/video/fake_video_capture_device_unittest.cc View 1 8 chunks +19 lines, -55 lines 0 comments Download
M media/capture/video/video_capture_device_descriptor.h View 1 chunk +1 line, -1 line 0 comments Download
M media/capture/video/video_capture_device_factory.h View 1 2 chunks +1 line, -8 lines 0 comments Download
M media/capture/video/video_capture_device_factory.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M media/capture/video/video_capture_device_unittest.cc View 10 chunks +12 lines, -40 lines 0 comments Download
M media/capture/video/video_capture_system_impl.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M media/capture/video/video_capture_system_impl.cc View 1 2 chunks +14 lines, -23 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Chandan
PTAL.Thank you.
3 years, 8 months ago (2017-04-07 11:20:22 UTC) #2
chfremer
Overall looking good. Unfortunately my CL https://codereview.chromium.org/2805533002/ was still in the process of landing and ...
3 years, 8 months ago (2017-04-07 16:34:21 UTC) #3
Chandan
Uploaded patchset 2. Please review. Thank you. https://codereview.chromium.org/2805863002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc File content/browser/renderer_host/media/video_capture_manager.cc (right): https://codereview.chromium.org/2805863002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc#newcode232 content/browser/renderer_host/media/video_capture_manager.cc:232: base::Bind(&VideoCaptureManager::ConsolidateDevicesInfoOnDeviceThread, On ...
3 years, 8 months ago (2017-04-10 09:18:24 UTC) #5
chfremer
Patch Set 2 lgtm. Bots please.
3 years, 8 months ago (2017-04-10 16:55:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2805863002/20001
3 years, 8 months ago (2017-04-10 17:04:00 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 19:01:04 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/71618f5681772f3d76c8c9c1f7f2...

Powered by Google App Engine
This is Rietveld 408576698