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/data_pipe.h" | 5 #include "mojo/edk/system/data_pipe.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
7 #include <string.h> | 9 #include <string.h> |
8 | 10 |
9 #include "mojo/edk/system/configuration.h" | 11 #include "mojo/edk/system/configuration.h" |
10 #include "mojo/edk/system/options_validation.h" | 12 #include "mojo/edk/system/options_validation.h" |
11 #include "mojo/edk/system/raw_channel.h" | 13 #include "mojo/edk/system/raw_channel.h" |
12 #include "mojo/edk/system/transport_data.h" | 14 #include "mojo/edk/system/transport_data.h" |
13 | 15 |
14 namespace mojo { | 16 namespace mojo { |
15 namespace edk { | 17 namespace edk { |
16 | 18 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 } | 197 } |
196 } | 198 } |
197 | 199 |
198 size -= sizeof(SerializedDataPipeHandleDispatcher); | 200 size -= sizeof(SerializedDataPipeHandleDispatcher); |
199 | 201 |
200 return ScopedPlatformHandle(platform_handle); | 202 return ScopedPlatformHandle(platform_handle); |
201 } | 203 } |
202 | 204 |
203 } // namespace edk | 205 } // namespace edk |
204 } // namespace mojo | 206 } // namespace mojo |
OLD | NEW |