| OLD | NEW |
| (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 |
| OLD | NEW |