Index: mash/simple_wm/main.cc |
diff --git a/mash/simple_wm/main.cc b/mash/simple_wm/main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..423113063476037ca00e57d1f3cd579e7e99ce99 |
--- /dev/null |
+++ b/mash/simple_wm/main.cc |
@@ -0,0 +1,12 @@ |
+// 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 "mash/simple_wm/simple_wm.h" |
+#include "services/service_manager/public/c/main.h" |
+#include "services/service_manager/public/cpp/service_runner.h" |
+ |
+MojoResult ServiceMain(MojoHandle service_request_handle) { |
+ service_manager::ServiceRunner runner(new simple_wm::SimpleWM); |
+ return runner.Run(service_request_handle); |
+} |