Index: mash/shell/main.cc |
diff --git a/mash/shell/main.cc b/mash/shell/main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e257b8bcd9e14c5dca884316ffd8acae3e8c6d0 |
--- /dev/null |
+++ b/mash/shell/main.cc |
@@ -0,0 +1,12 @@ |
+// Copyright 2015 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/shell/shell_application_delegate.h" |
+#include "mojo/application/public/cpp/application_runner.h" |
+#include "mojo/public/c/system/main.h" |
+ |
+MojoResult MojoMain(MojoHandle shell_handle) { |
+ mojo::ApplicationRunner runner(new mash::shell::ShellApplicationDelegate); |
+ return runner.Run(shell_handle); |
+} |