OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/public/cpp/bindings/lib/bindings_serialization.h" | 5 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "mojo/public/cpp/environment/logging.h" | 10 #include "mojo/public/cpp/environment/logging.h" |
8 | 11 |
9 namespace mojo { | 12 namespace mojo { |
10 namespace internal { | 13 namespace internal { |
11 | 14 |
12 namespace { | 15 namespace { |
13 | 16 |
14 const size_t kAlignment = 8; | 17 const size_t kAlignment = 8; |
15 | 18 |
16 template <typename T> | 19 template <typename T> |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 SerializationContext::SerializationContext() {} | 92 SerializationContext::SerializationContext() {} |
90 | 93 |
91 SerializationContext::SerializationContext( | 94 SerializationContext::SerializationContext( |
92 scoped_refptr<MultiplexRouter> in_router) | 95 scoped_refptr<MultiplexRouter> in_router) |
93 : router(std::move(in_router)) {} | 96 : router(std::move(in_router)) {} |
94 | 97 |
95 SerializationContext::~SerializationContext() {} | 98 SerializationContext::~SerializationContext() {} |
96 | 99 |
97 } // namespace internal | 100 } // namespace internal |
98 } // namespace mojo | 101 } // namespace mojo |
OLD | NEW |