OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/embedder/platform_channel_utils_posix.h" | 5 #include "mojo/edk/embedder/platform_channel_utils_posix.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <sys/socket.h> | 8 #include <sys/socket.h> |
8 #include <sys/uio.h> | 9 #include <sys/uio.h> |
9 #include <unistd.h> | 10 #include <unistd.h> |
10 | 11 |
11 #include "base/logging.h" | 12 #include "base/logging.h" |
12 #include "base/posix/eintr_wrapper.h" | 13 #include "base/posix/eintr_wrapper.h" |
13 #include "build/build_config.h" | 14 #include "build/build_config.h" |
14 | 15 |
15 #if !defined(SO_PEEK_OFF) | 16 #if !defined(SO_PEEK_OFF) |
16 #define SO_PEEK_OFF 42 | 17 #define SO_PEEK_OFF 42 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 DCHECK(platform_handles->back().is_valid()); | 190 DCHECK(platform_handles->back().is_valid()); |
190 } | 191 } |
191 } | 192 } |
192 } | 193 } |
193 | 194 |
194 return result; | 195 return result; |
195 } | 196 } |
196 | 197 |
197 } // namespace edk | 198 } // namespace edk |
198 } // namespace mojo | 199 } // namespace mojo |
OLD | NEW |