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

Side by Side Diff: mojo/environment/default_async_waiter.cc

Issue 134253004: Mojo: AsyncWaiter and mojo/public/environment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing files Created 6 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698