Index: mash/wm/main.cc |
diff --git a/mash/wm/main.cc b/mash/wm/main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3c08198e2834ad729866adbd0851dc5820b7f1b |
--- /dev/null |
+++ b/mash/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/wm/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 mash::wm::WM); |
+ return runner.Run(service_request_handle); |
+} |