OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 157 |
158 } // namespace shell | 158 } // namespace shell |
159 } // namespace mojo | 159 } // namespace mojo |
160 | 160 |
161 | 161 |
162 MojoResult MojoMain(MojoHandle shell_handle) { | 162 MojoResult MojoMain(MojoHandle shell_handle) { |
163 MojoResult rv = mojo::ApplicationRunner( | 163 MojoResult rv = mojo::ApplicationRunner( |
164 new mojo::shell::PackageTestShellClient).Run(shell_handle); | 164 new mojo::shell::PackageTestShellClient).Run(shell_handle); |
165 return rv; | 165 return rv; |
166 } | 166 } |
OLD | NEW |