1 // Copyright 2015 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.
5 #include "components/filesystem/file_system_app.h"
7 #include "mojo/application/public/cpp/application_connection.h"
11 FileSystemApp::FileSystemApp() {}
13 FileSystemApp::~FileSystemApp() {}
15 bool FileSystemApp::ConfigureIncomingConnection(
16 mojo::ApplicationConnection
* connection
) {
17 connection
->AddService
<FileSystem
>(this);
21 // |InterfaceFactory<Files>| implementation:
22 void FileSystemApp::Create(mojo::ApplicationConnection
* connection
,
23 mojo::InterfaceRequest
<FileSystem
> request
) {
24 new FileSystemImpl(connection
, request
.Pass());
27 } // namespace filesystem