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

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

Issue 2244763002: Video Capture Mojo (1.4a.a): Add service configurator interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MakeService
Patch Set: Merge-in changes from upstream 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/logging.h"
6 #include "services/video_capture/service_configurator_impl.h"
7
8 namespace video_capture {
9
10 ServiceConfiguratorImpl::ServiceConfiguratorImpl(
11 VideoCaptureDeviceFactoryImpl* factory)
12 : factory_(factory) {}
13
14 void ServiceConfiguratorImpl::AddFakeVideoCaptureDevice(
15 const AddFakeVideoCaptureDeviceCallback& callback) {
16 auto descriptor = factory_->AddFakeVideoCaptureDevice();
17 callback.Run(std::move(descriptor));
18 }
19
20 } // namespace video_capture
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698