Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: mash/shell/main.cc

Issue 1492563002: Introduce mash/shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+}

Powered by Google App Engine
This is Rietveld 408576698