Index: ash/mojo_shell.cc |
diff --git a/ash/mojo_shell.cc b/ash/mojo_shell.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d801e1502fc66121daa94e66875db0970a8048c |
--- /dev/null |
+++ b/ash/mojo_shell.cc |
@@ -0,0 +1,20 @@ |
+// 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 "ash/mojo_shell.h" |
+ |
+namespace ash { |
+namespace { |
+mojo::Shell* mojo_shell = nullptr; |
+} // namespace |
+ |
+void SetMojoShell(mojo::Shell* shell) { |
+ mojo_shell = shell; |
+} |
+ |
+mojo::Shell* GetMojoShell() { |
+ return mojo_shell; |
+} |
+ |
+} // namespace ash |