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

Side by Side Diff: mojo/edk/base_edk/test_message_loop.cc

Issue 1469193002: EDK: Add a mojo::platform::MessageLoop abstraction. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « mojo/edk/base_edk/platform_message_loop_impl_unittest.cc ('k') | mojo/edk/platform/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 // This file implements the factory functions declared in
6 // //mojo/edk/platform/test_message_loop.h (using |mojo::platform::MessageLoop|s
7 // based on //base, i.e., using |base_edk::PlatformMessageLoopImpl|).
8
9 #include "mojo/edk/platform/test_message_loop.h"
10
11 #include "mojo/edk/base_edk/platform_message_loop_impl.h"
12 #include "mojo/edk/util/make_unique.h"
13
14 using mojo::util::MakeUnique;
15
16 namespace mojo {
17 namespace platform {
18 namespace test {
19
20 std::unique_ptr<MessageLoop> CreateTestMessageLoop() {
21 return MakeUnique<base_edk::PlatformMessageLoopImpl>();
22 }
23
24 } // namespace test
25 } // namespace platform
26 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/base_edk/platform_message_loop_impl_unittest.cc ('k') | mojo/edk/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698