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 "ipc/mojo/ipc_mojo_bootstrap.h" | 5 #include "ipc/ipc_mojo_bootstrap.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/process/process_handle.h" | 13 #include "base/process/process_handle.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "ipc/ipc_message_utils.h" | 15 #include "ipc/ipc_message_utils.h" |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 bool MojoBootstrap::HasFailed() const { | 165 bool MojoBootstrap::HasFailed() const { |
166 return state() == STATE_ERROR; | 166 return state() == STATE_ERROR; |
167 } | 167 } |
168 | 168 |
169 mojo::ScopedMessagePipeHandle MojoBootstrap::TakeHandle() { | 169 mojo::ScopedMessagePipeHandle MojoBootstrap::TakeHandle() { |
170 return std::move(handle_); | 170 return std::move(handle_); |
171 } | 171 } |
172 | 172 |
173 } // namespace IPC | 173 } // namespace IPC |
OLD | NEW |