| 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/platform_handle_dispatcher.h" | 5 #include "mojo/edk/system/platform_handle_dispatcher.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 #include <utility> | 10 #include <utility> |
| 9 | 11 |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 | 13 |
| 12 namespace mojo { | 14 namespace mojo { |
| 13 namespace edk { | 15 namespace edk { |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 | 18 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } else { | 103 } else { |
| 102 serialization->platform_handle_index = kInvalidPlatformHandleIndex; | 104 serialization->platform_handle_index = kInvalidPlatformHandleIndex; |
| 103 } | 105 } |
| 104 | 106 |
| 105 *actual_size = sizeof(SerializedPlatformHandleDispatcher); | 107 *actual_size = sizeof(SerializedPlatformHandleDispatcher); |
| 106 return true; | 108 return true; |
| 107 } | 109 } |
| 108 | 110 |
| 109 } // namespace edk | 111 } // namespace edk |
| 110 } // namespace mojo | 112 } // namespace mojo |
| OLD | NEW |