Description[Mojo Video Capture] Add support to BuildableVideoCaptureDevice for aborting the device start.
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:
* When a request to stop a device comes in while the device is still starting up
asynchronously, the device needs to be stopped as soon as it has finished
starting up. This CL moves the logic for this from VideoCaptureManager to
implementations of BuildableVideoCaptureDevice.
* Some naming improvements
This CL is part of the Mojo Video Capture work. For the bigger picture,
see [1] CL17.
BUG=584797
TEST=
content_browsertests --gtest_filter="VideoCaptureBrowserTest.*"
content_unittests --gtest_filter="*Video*"
[1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing
Review-Url: https://codereview.chromium.org/2753073006
Cr-Commit-Position: refs/heads/master@{#461486}
Committed: https://chromium.googlesource.com/chromium/src/+/04f617af016ca074f249a17183a0eb79d7a2ad60
Patch Set 1 #
Total comments: 7
Patch Set 2 : Incorporate suggestions from Patch Set 1 #
Total comments: 8
Patch Set 3 : Rebase to March 30 #Patch Set 4 : Incorporated mcasas@'s suggestions from PatchSet 2 #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 24 (14 generated)
|