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/system/shared_buffer_dispatcher.h" | 5 #include "mojo/edk/system/shared_buffer_dispatcher.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <limits> | 10 #include <limits> |
8 #include <utility> | 11 #include <utility> |
9 | 12 |
10 #include "base/logging.h" | 13 #include "base/logging.h" |
11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
12 #include "mojo/edk/embedder/embedder_internal.h" | 15 #include "mojo/edk/embedder/embedder_internal.h" |
13 #include "mojo/edk/embedder/platform_support.h" | 16 #include "mojo/edk/embedder/platform_support.h" |
14 #include "mojo/edk/system/configuration.h" | 17 #include "mojo/edk/system/configuration.h" |
15 #include "mojo/edk/system/options_validation.h" | 18 #include "mojo/edk/system/options_validation.h" |
16 #include "mojo/public/c/system/macros.h" | 19 #include "mojo/public/c/system/macros.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 *actual_size = sizeof(SerializedSharedBufferDispatcher); | 263 *actual_size = sizeof(SerializedSharedBufferDispatcher); |
261 | 264 |
262 shared_buffer_ = nullptr; | 265 shared_buffer_ = nullptr; |
263 | 266 |
264 return true; | 267 return true; |
265 } | 268 } |
266 | 269 |
267 | 270 |
268 } // namespace edk | 271 } // namespace edk |
269 } // namespace mojo | 272 } // namespace mojo |
OLD | NEW |