OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/system/embedder.h" | 5 #include "mojo/public/environment/default_async_waiter.h" |
6 | 6 |
7 #include "mojo/system/core_impl.h" | 7 #include "mojo/environment/default_async_waiter_impl.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 namespace embedder { | |
11 | 10 |
12 void Init() { | 11 MojoAsyncWaiter* GetDefaultAsyncWaiter() { |
13 Core::Init(new system::CoreImpl()); | 12 return internal::GetDefaultAsyncWaiterImpl(); |
14 } | 13 } |
15 | 14 |
16 } // namespace embedder | |
17 } // namespace mojo | 15 } // namespace mojo |
OLD | NEW |