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

Side by Side Diff: services/video_capture/video_capture_device_factory_impl.cc

Issue 2224103002: Package video capture skeleton as Mojo Shell Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@VideoMojoSkeleton2
Patch Set: ben's comments Created 4 years, 4 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 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "services/video_capture/video_capture_device_factory_impl.h" 6 #include "services/video_capture/video_capture_device_factory_impl.h"
7 7
8 namespace video_capture { 8 namespace video_capture {
9 9
10 void VideoCaptureDeviceFactoryImpl::EnumerateDeviceDescriptors( 10 void VideoCaptureDeviceFactoryImpl::EnumerateDeviceDescriptors(
11 const EnumerateDeviceDescriptorsCallback& callback) { 11 const EnumerateDeviceDescriptorsCallback& callback) {
12 NOTIMPLEMENTED(); 12 std::vector<mojom::VideoCaptureDeviceDescriptorPtr> empty_descriptors;
13 callback.Run(std::move(empty_descriptors));
13 } 14 }
14 15
15 void VideoCaptureDeviceFactoryImpl::GetSupportedFormats( 16 void VideoCaptureDeviceFactoryImpl::GetSupportedFormats(
16 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, 17 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor,
17 const GetSupportedFormatsCallback& callback) { 18 const GetSupportedFormatsCallback& callback) {
18 NOTIMPLEMENTED(); 19 NOTIMPLEMENTED();
19 } 20 }
20 21
21 void VideoCaptureDeviceFactoryImpl::CreateDevice( 22 void VideoCaptureDeviceFactoryImpl::CreateDevice(
22 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, 23 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor,
23 mojom::VideoCaptureDeviceRequest device_request) { 24 mojom::VideoCaptureDeviceRequest device_request) {
24 NOTIMPLEMENTED(); 25 NOTIMPLEMENTED();
25 } 26 }
26 27
27 } // namespace video_capture 28 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/video_capture/service_unittest_manifest.json ('k') | services/video_capture/video_capture_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698