OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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/edk/system/master_impl.h" | 5 #include "mojo/edk/system/master_impl.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/files/scoped_file.h" | 9 #include "base/files/scoped_file.h" |
10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
11 #include "mojo/edk/embedder/embedder.h" | 11 #include "mojo/edk/embedder/embedder.h" |
12 #include "mojo/edk/test/test_utils.h" | 12 #include "mojo/edk/test/test_utils.h" |
| 13 #include "mojo/public/c/system/macros.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "third_party/mojo/src/mojo/public/c/system/macros.h" | |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 namespace edk { | 17 namespace edk { |
18 namespace { | 18 namespace { |
19 | 19 |
20 static const char kHelloWorld[] = "hello world"; | 20 static const char kHelloWorld[] = "hello world"; |
21 | 21 |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
23 | 23 |
24 class MasterImplTest : public ::testing::Test { | 24 class MasterImplTest : public ::testing::Test { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 [&handle](int32_t result, ScopedHandle h) { | 111 [&handle](int32_t result, ScopedHandle h) { |
112 ASSERT_EQ(result, MOJO_RESULT_INVALID_ARGUMENT); | 112 ASSERT_EQ(result, MOJO_RESULT_INVALID_ARGUMENT); |
113 }); | 113 }); |
114 } | 114 } |
115 | 115 |
116 #endif // OS_WIN | 116 #endif // OS_WIN |
117 | 117 |
118 } // namespace | 118 } // namespace |
119 } // namespace edk | 119 } // namespace edk |
120 } // namespace mojo | 120 } // namespace mojo |
OLD | NEW |