Chromium Code Reviews
DescriptionVideo Capture Mojo: Handle Subsequent Access
This CL is part of the Mojo Video Capture work. For the bigger picture, see [1].
A class diagram illustrating the APIs and implementations is found at [2].
* Added class FakeDeviceDescriptorVideoCaptureServiceTest test fixture into the inheritance chain between VideoCaptureServiceTest and FakeDeviceVideoCaptureServiceTest. This is to avoid duplication of test SetUp() code.
* Added test cases using the new test setup:
1. AccessIsRevokedOnSecondAccess
2. CanUseSecondRequestedProxy
* In file video_capture_device_factory.mojom: Added comment for specifying expected behavior.
* Added code needed to make new test cases pass.
BUG=584797
TEST=Build of video_capture_unittests succeeds. All video_capture_unittests pass.
[1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing
[2] https://docs.google.com/a/chromium.org/drawings/d/1RUgghIp8HHwurQOWEcs7-UVQXdfLPUyhM6Afaj1MZtM/edit?usp=sharing
Committed: https://crrev.com/fa6a12d52e60cce192793e16da4a42c17296dc19
Cr-Commit-Position: refs/heads/master@{#416693}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Rename tests #Patch Set 3 : mcasas' comments #
Total comments: 5
Patch Set 4 : rockot's comments #Messages
Total messages: 36 (23 generated)
|