OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_MOJO_SHELL_H_ |
| 6 #define ASH_MOJO_SHELL_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 |
| 10 namespace mojo { |
| 11 class Shell; |
| 12 } |
| 13 |
| 14 // NOTE: this code is always compiled (gn and gyp) and the gyp variant always |
| 15 // returns null for the shell. |
| 16 namespace ash { |
| 17 |
| 18 // TODO(sky): better isolate this. It should only be called during startup. |
| 19 ASH_EXPORT void SetMojoShell(mojo::Shell* shell); |
| 20 ASH_EXPORT mojo::Shell* GetMojoShell(); |
| 21 |
| 22 } // namespace ash |
| 23 |
| 24 #endif // ASH_MOJO_SHELL_H_ |
OLD | NEW |