Description[Mojo Video Capture] Create abstraction VideoCaptureProvider
This CL is supposed to be a pure refactoring. There should be no changes to
existing behavior.
This is part of a series of CLs with the goal of separating the class
VideoCaptureManager from knowledge of things that are going to be private
implementation details of the video capture service. The end goal is to have
VideoCaptureManager talk to an abstraction that can be implemented by either the
video capture Mojo service or the existing (legacy) in-process implementation.
Changes in this CL:
* Create abstraction VideoCaptureProvider, whose purpose is to hide the details
of how device enumeration is performed and how a BuildableVideoCaptureDevice
is created from class VideoCaptureManager.
* Create an implementation InProcessVideoCaptureProvider which encapsulates the
existing functionality for hosting devices in the browser process.
This CL is part of the Mojo Video Capture work. For the bigger picture,
see [1] CL20.
BUG=584797
TEST=
capture_unittests --gtest_filter="*Video*"
content_browsertests --gtest_filter="VideoCaptureBrowserTest.*"
[1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing
Review-Url: https://codereview.chromium.org/2800493002
Cr-Commit-Position: refs/heads/master@{#463669}
Committed: https://chromium.googlesource.com/chromium/src/+/3b099810e0616186a6a27798170db53b72c153ef
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 8
Patch Set 3 : Incorporated suggestions from PatchSet 2 #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 36 (26 generated)
|