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

Side by Side Diff: services/files/files_app.cc

Issue 1987363004: Build libraries for a number of services. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove unnecessary imports Created 4 years, 7 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/files/files_app.h ('k') | services/files/main.cc » ('j') | 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/files/files_app.h"
6
7 #include "mojo/services/files/interfaces/files.mojom.h"
8 #include "services/files/files_impl.h"
9
10 namespace mojo {
11 namespace files {
12
13 FilesApp::FilesApp() {}
14 FilesApp::~FilesApp() {}
15
16 bool FilesApp::ConfigureIncomingConnection(
17 ServiceProviderImpl* service_provider_impl) {
18 service_provider_impl->AddService<Files>(
19 [](const ConnectionContext& connection_context,
20 InterfaceRequest<Files> files_request) {
21 new FilesImpl(connection_context, files_request.Pass());
22 });
23 return true;
24 }
25
26 } // namespace files
27 } // namespace mojo
OLDNEW
« no previous file with comments | « services/files/files_app.h ('k') | services/files/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698