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

Side by Side Diff: services/video_capture/video_capture_service.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
« no previous file with comments | « services/video_capture/video_capture_service.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "services/video_capture/video_capture_service.h"
6
7 namespace video_capture {
8
9 VideoCaptureService::VideoCaptureService() = default;
10
11 VideoCaptureService::~VideoCaptureService() = default;
12
13 bool VideoCaptureService::OnConnect(const shell::Identity& remote_identity,
14 shell::InterfaceRegistry* registry) {
15 registry->AddInterface<mojom::VideoCaptureDeviceFactory>(this);
16 return true;
17 }
18
19 void VideoCaptureService::Create(
20 const shell::Identity& remote_identity,
21 mojom::VideoCaptureDeviceFactoryRequest request) {
22 bindings_.AddBinding(&device_factory_, std::move(request));
23 }
24
25 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/video_capture/video_capture_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698