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

Side by Side Diff: mojo/edk/platform/test_message_loop.h

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/platform/message_loop.h ('k') | mojo/tools/data/unittests » ('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 declares a factory function (which must be implemented by the
6 // embedder) for message loops to be used in tests.
7
8 #ifndef MOJO_EDK_PLATFORM_TEST_MESSAGE_LOOP_H_
9 #define MOJO_EDK_PLATFORM_TEST_MESSAGE_LOOP_H_
10
11 #include <memory>
12
13 #include "mojo/edk/platform/message_loop.h"
14
15 namespace mojo {
16 namespace platform {
17 namespace test {
18
19 // Creates a basic |platform::MessageLoop|, to be used by tests. This must be
20 // implemented by the embedder (if building tests that require it).
21 std::unique_ptr<MessageLoop> CreateTestMessageLoop();
22
23 } // namespace test
24 } // namespace platform
25 } // namespace mojo
26
27 #endif // MOJO_EDK_PLATFORM_TEST_MESSAGE_LOOP_H_
OLDNEW
« no previous file with comments | « mojo/edk/platform/message_loop.h ('k') | mojo/tools/data/unittests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698