| OLD | NEW |
| 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 #include "mojo/common/test/multiprocess_test_base.h" | 5 #include "mojo/common/test/multiprocess_test_base.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "mojo/system/platform_channel.h" |
| 9 #include "mojo/system/platform_channel_handle.h" | 10 #include "mojo/system/platform_channel_handle.h" |
| 10 | 11 |
| 11 #if defined(OS_POSIX) | 12 #if defined(OS_POSIX) |
| 12 #include <fcntl.h> | 13 #include <fcntl.h> |
| 13 #include <unistd.h> | 14 #include <unistd.h> |
| 14 | 15 |
| 15 #include "base/posix/eintr_wrapper.h" | 16 #include "base/posix/eintr_wrapper.h" |
| 16 #endif | 17 #endif |
| 17 | 18 |
| 18 namespace mojo { | 19 namespace mojo { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 PCHECK(close(fd) == 0); | 109 PCHECK(close(fd) == 0); |
| 109 | 110 |
| 110 // And return it, incremented again. | 111 // And return it, incremented again. |
| 111 c++; | 112 c++; |
| 112 return static_cast<int>(c); | 113 return static_cast<int>(c); |
| 113 } | 114 } |
| 114 #endif // defined(OS_POSIX) | 115 #endif // defined(OS_POSIX) |
| 115 | 116 |
| 116 } // namespace | 117 } // namespace |
| 117 } // namespace mojo | 118 } // namespace mojo |
| OLD | NEW |