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/embedder/embedder.h" | 5 #include "mojo/edk/embedder/embedder.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <utility> | 10 #include <utility> |
8 | 11 |
9 #include "base/atomicops.h" | 12 #include "base/atomicops.h" |
10 #include "base/bind.h" | 13 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
12 #include "base/command_line.h" | 15 #include "base/command_line.h" |
13 #include "base/location.h" | 16 #include "base/location.h" |
14 #include "base/logging.h" | 17 #include "base/logging.h" |
15 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
16 #include "base/message_loop/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 CHECK(rv.is_valid()); | 162 CHECK(rv.is_valid()); |
160 dispatcher->Init(std::move(platform_handle), nullptr, 0, nullptr, 0, nullptr, | 163 dispatcher->Init(std::move(platform_handle), nullptr, 0, nullptr, 0, nullptr, |
161 nullptr); | 164 nullptr); |
162 // TODO(vtl): The |.Pass()| below is only needed due to an MSVS bug; remove it | 165 // TODO(vtl): The |.Pass()| below is only needed due to an MSVS bug; remove it |
163 // once that's fixed. | 166 // once that's fixed. |
164 return rv; | 167 return rv; |
165 } | 168 } |
166 | 169 |
167 } // namespace edk | 170 } // namespace edk |
168 } // namespace mojo | 171 } // namespace mojo |
OLD | NEW |