| Index: services/files/files_app.cc
|
| diff --git a/services/files/files_app.cc b/services/files/files_app.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..368b5a0577fe25f747426652494445ec24dd0a5f
|
| --- /dev/null
|
| +++ b/services/files/files_app.cc
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "services/files/files_app.h"
|
| +
|
| +#include "mojo/services/files/interfaces/files.mojom.h"
|
| +#include "services/files/files_impl.h"
|
| +
|
| +namespace mojo {
|
| +namespace files {
|
| +
|
| +FilesApp::FilesApp() {}
|
| +FilesApp::~FilesApp() {}
|
| +
|
| +bool FilesApp::ConfigureIncomingConnection(
|
| + ServiceProviderImpl* service_provider_impl) {
|
| + service_provider_impl->AddService<Files>(
|
| + [](const ConnectionContext& connection_context,
|
| + InterfaceRequest<Files> files_request) {
|
| + new FilesImpl(connection_context, files_request.Pass());
|
| + });
|
| + return true;
|
| +}
|
| +
|
| +} // namespace files
|
| +} // namespace mojo
|
|
|