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

Side by Side Diff: services/video_capture/public/interfaces/service.mojom

Issue 2502483003: [Mojo Video Capture] Cleanup naming of classes/files in services/video_capture (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 module video_capture.mojom; 5 module video_capture.mojom;
6 6
7 import "services/video_capture/public/interfaces/mock_video_capture_device.mojom "; 7 import "services/video_capture/public/interfaces/mock_device.mojom";
8 import "services/video_capture/public/interfaces/video_capture_device_descriptor .mojom"; 8 import "services/video_capture/public/interfaces/device_descriptor.mojom";
9 import "services/video_capture/public/interfaces/video_capture_device_factory.mo jom"; 9 import "services/video_capture/public/interfaces/device_factory.mojom";
10 import "ui/gfx/geometry/mojo/geometry.mojom"; 10 import "ui/gfx/geometry/mojo/geometry.mojom";
11 11
12 // Entry point to the Video Capture Service API. 12 // Entry point to the Video Capture Service API.
13 // The service hosts three VideoCaptureDeviceFactories. The "regular" factory 13 // The service hosts three DeviceFactories. The "regular" factory
14 // provides access to the capture devices connected to the system. The "fake" 14 // provides access to the capture devices connected to the system. The "fake"
15 // factory provides access to a single fake device that generates test frames. 15 // factory provides access to a single fake device that generates test frames.
16 // The "mock" factory provides access to a set of mock devices provided by the 16 // The "mock" factory provides access to a set of mock devices provided by the
17 // client, which are useful for verifying that the service implementation 17 // client, which are useful for verifying that the service implementation
18 // operates these devices correctly. 18 // operates these devices correctly.
19 interface VideoCaptureService { 19 interface Service {
20 ConnectToDeviceFactory(VideoCaptureDeviceFactory& request); 20 ConnectToDeviceFactory(DeviceFactory& request);
21 ConnectToFakeDeviceFactory(VideoCaptureDeviceFactory& request); 21 ConnectToFakeDeviceFactory(DeviceFactory& request);
22 ConnectToMockDeviceFactory(VideoCaptureDeviceFactory& request); 22 ConnectToMockDeviceFactory(DeviceFactory& request);
23 [Sync] AddDeviceToMockFactory(MockVideoCaptureDevice device, 23 [Sync] AddDeviceToMockFactory(MockMediaDevice device,
24 VideoCaptureDeviceDescriptor descriptor) => (); 24 DeviceDescriptor descriptor) => ();
25 }; 25 };
OLDNEW
« no previous file with comments | « services/video_capture/public/interfaces/receiver.mojom ('k') | services/video_capture/public/interfaces/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698