| 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/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/process/process_handle.h" | 14 #include "base/process/process_handle.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 bool MojoBootstrap::HasFailed() const { | 170 bool MojoBootstrap::HasFailed() const { |
| 171 return state() == STATE_ERROR; | 171 return state() == STATE_ERROR; |
| 172 } | 172 } |
| 173 | 173 |
| 174 mojo::ScopedMessagePipeHandle MojoBootstrap::TakeHandle() { | 174 mojo::ScopedMessagePipeHandle MojoBootstrap::TakeHandle() { |
| 175 return std::move(handle_); | 175 return std::move(handle_); |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace IPC | 178 } // namespace IPC |
| OLD | NEW |