| 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/transport_data.h" | 5 #include "mojo/edk/system/transport_data.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <utility> | 10 #include <utility> |
| 8 | 11 |
| 9 #include "base/logging.h" | 12 #include "base/logging.h" |
| 10 #include "mojo/edk/system/configuration.h" | 13 #include "mojo/edk/system/configuration.h" |
| 11 #include "mojo/edk/system/message_in_transit.h" | 14 #include "mojo/edk/system/message_in_transit.h" |
| 12 #include "mojo/edk/system/raw_channel.h" | 15 #include "mojo/edk/system/raw_channel.h" |
| 13 | 16 |
| 14 namespace mojo { | 17 namespace mojo { |
| 15 namespace edk { | 18 namespace edk { |
| 16 | 19 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 const void* source = static_cast<const char*>(buffer) + offset; | 328 const void* source = static_cast<const char*>(buffer) + offset; |
| 326 (*dispatchers)[i] = Dispatcher::TransportDataAccess::Deserialize( | 329 (*dispatchers)[i] = Dispatcher::TransportDataAccess::Deserialize( |
| 327 handle_table[i].type, source, size, platform_handles.get()); | 330 handle_table[i].type, source, size, platform_handles.get()); |
| 328 } | 331 } |
| 329 | 332 |
| 330 return dispatchers; | 333 return dispatchers; |
| 331 } | 334 } |
| 332 | 335 |
| 333 } // namespace edk | 336 } // namespace edk |
| 334 } // namespace mojo | 337 } // namespace mojo |
| OLD | NEW |