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

Side by Side Diff: services/video_capture/public/interfaces/device.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 "media/capture/mojo/video_capture_types.mojom"; 7 import "media/capture/mojo/video_capture_types.mojom";
8 import "services/video_capture/public/interfaces/video_capture_settings.mojom"; 8 import "services/video_capture/public/interfaces/capture_settings.mojom";
9 import "services/video_capture/public/interfaces/video_frame_receiver.mojom"; 9 import "services/video_capture/public/interfaces/receiver.mojom";
10 10
11 // Represents access to a video capture device available on the machine. 11 // Represents access to a video capture device available on the machine.
12 // Note: Instead of offering an explicit Stop() method, the device 12 // Note: Instead of offering an explicit Stop() method, the device
13 // is stopped automatically when the message pipe corresponding to either the 13 // is stopped automatically when the message pipe corresponding to either the
14 // VideoCaptureDeviceProxy or the given VideoFrameReceiver is closed. 14 // VideoCaptureDevice or the given VideoFrameReceiver is closed.
15 // The frames deliverd to |receiver| are guaranteed to use I420 encoding and 15 // The frames deliverd to |receiver| are guaranteed to use I420 encoding and
16 // are backed by Mojo shared buffers. 16 // are backed by Mojo shared buffers.
17 interface VideoCaptureDeviceProxy { 17 interface Device {
18 Start(VideoCaptureSettings requested_settings, 18 Start(CaptureSettings requested_settings,
mcasas 2016/11/16 04:25:49 reflow params to fit in one line.
chfremer 2016/11/16 17:14:12 Done.
19 VideoFrameReceiver receiver); 19 Receiver receiver);
20 }; 20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698