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

Side by Side Diff: mojo/edk/system/test_utils.h

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/system/simple_dispatcher_unittest.cc ('k') | mojo/edk/system/transport_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MOJO_EDK_SYSTEM_TEST_UTILS_H_ 5 #ifndef MOJO_EDK_SYSTEM_TEST_UTILS_H_
6 #define MOJO_EDK_SYSTEM_TEST_UTILS_H_ 6 #define MOJO_EDK_SYSTEM_TEST_UTILS_H_
7 7
8 #include "base/test/test_io_thread.h" 8 #include "base/test/test_io_thread.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "mojo/edk/test/scoped_ipc_support.h" 10 #include "mojo/edk/test/scoped_ipc_support.h"
11 #include "mojo/public/c/system/types.h"
12 #include "mojo/public/cpp/system/macros.h"
13 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/mojo/src/mojo/public/c/system/types.h"
13 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace edk { 16 namespace edk {
17 namespace test { 17 namespace test {
18 18
19 MojoDeadline DeadlineFromMilliseconds(unsigned milliseconds); 19 MojoDeadline DeadlineFromMilliseconds(unsigned milliseconds);
20 20
21 // A timeout smaller than |TestTimeouts::tiny_timeout()|, as a |MojoDeadline|. 21 // A timeout smaller than |TestTimeouts::tiny_timeout()|, as a |MojoDeadline|.
22 // Warning: This may lead to flakiness, but this is unavoidable if, e.g., you're 22 // Warning: This may lead to flakiness, but this is unavoidable if, e.g., you're
23 // trying to ensure that functions with timeouts are reasonably accurate. We 23 // trying to ensure that functions with timeouts are reasonably accurate. We
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 test::ScopedIPCSupport ipc_support_; 69 test::ScopedIPCSupport ipc_support_;
70 70
71 MOJO_DISALLOW_COPY_AND_ASSIGN(MojoSystemTest); 71 MOJO_DISALLOW_COPY_AND_ASSIGN(MojoSystemTest);
72 }; 72 };
73 73
74 } // namespace test 74 } // namespace test
75 } // namespace edk 75 } // namespace edk
76 } // namespace mojo 76 } // namespace mojo
77 77
78 #endif // MOJO_EDK_SYSTEM_TEST_UTILS_H_ 78 #endif // MOJO_EDK_SYSTEM_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « mojo/edk/system/simple_dispatcher_unittest.cc ('k') | mojo/edk/system/transport_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698