mandoline filesystem: Compile filesystem into core_services.
[chromium-blink-merge.git] / components / filesystem / main.cc
blob6e25653fbd8d13114d91743f95db4264b465ff77
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 "base/macros.h"
6 #include "components/filesystem/file_system_app.h"
7 #include "mojo/application/public/cpp/application_runner.h"
8 #include "mojo/public/c/system/main.h"
10 MojoResult MojoMain(MojoHandle application_request) {
11 mojo::ApplicationRunner runner(new filesystem::FileSystemApp());
12 return runner.Run(application_request);