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

Side by Side Diff: services/video_capture/test/fake_device_descriptor_test.h

Issue 2824883005: [Mojo Video Capture] Stop service when last client disconnects. (Closed)
Patch Set: Incorporate suggestions from PatchSet #4 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ 5 #ifndef SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_
6 #define SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ 6 #define SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_
7 7
8 #include "services/video_capture/test/service_test.h" 8 #include "services/video_capture/test/device_factory_provider_test.h"
9 9
10 namespace video_capture { 10 namespace video_capture {
11 11
12 // Test fixture that obtains the descriptor of the fake device by enumerating 12 // Test fixture that obtains the descriptor of the fake device by enumerating
13 // the devices of the fake device factory. 13 // the devices of the fake device factory.
14 class FakeDeviceDescriptorTest : public ServiceTest { 14 class FakeDeviceDescriptorTest : public DeviceFactoryProviderTest {
15 public: 15 public:
16 FakeDeviceDescriptorTest(); 16 FakeDeviceDescriptorTest();
17 ~FakeDeviceDescriptorTest() override; 17 ~FakeDeviceDescriptorTest() override;
18 18
19 void SetUp() override; 19 void SetUp() override;
20 20
21 protected: 21 protected:
22 media::VideoCaptureDeviceInfo fake_device_info_; 22 media::VideoCaptureDeviceInfo fake_device_info_;
23 }; 23 };
24 24
25 } // namespace video_capture 25 } // namespace video_capture
26 26
27 #endif // SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ 27 #endif // SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698