Reland "Non-SFI mode: Switch to newlib. (patchset #4 id:60001 of https://codereview...
[chromium-blink-merge.git] / components / filesystem / file_system_app.cc
blobd69df2eeff9d296fd13c6d0b23ddef667d758820
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"
9 namespace filesystem {
11 FileSystemApp::FileSystemApp() {}
13 FileSystemApp::~FileSystemApp() {}
15 bool FileSystemApp::ConfigureIncomingConnection(
16 mojo::ApplicationConnection* connection) {
17 connection->AddService<FileSystem>(this);
18 return true;
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