| 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 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_H_ | 5 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_H_ |
| 6 #define MOJO_EDK_EMBEDDER_EMBEDDER_H_ | 6 #define MOJO_EDK_EMBEDDER_EMBEDDER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/process/process_handle.h" | 15 #include "base/process/process_handle.h" |
| 14 #include "base/task_runner.h" | 16 #include "base/task_runner.h" |
| 15 #include "mojo/edk/embedder/scoped_platform_handle.h" | 17 #include "mojo/edk/embedder/scoped_platform_handle.h" |
| 16 #include "mojo/edk/system/system_impl_export.h" | 18 #include "mojo/edk/system/system_impl_export.h" |
| 17 #include "mojo/public/cpp/system/message_pipe.h" | 19 #include "mojo/public/cpp/system/message_pipe.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupport(); | 118 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupport(); |
| 117 | 119 |
| 118 // Creates a message pipe from a platform handle. Safe to call from any thread. | 120 // Creates a message pipe from a platform handle. Safe to call from any thread. |
| 119 MOJO_SYSTEM_IMPL_EXPORT ScopedMessagePipeHandle | 121 MOJO_SYSTEM_IMPL_EXPORT ScopedMessagePipeHandle |
| 120 CreateMessagePipe(ScopedPlatformHandle platform_handle); | 122 CreateMessagePipe(ScopedPlatformHandle platform_handle); |
| 121 | 123 |
| 122 } // namespace edk | 124 } // namespace edk |
| 123 } // namespace mojo | 125 } // namespace mojo |
| 124 | 126 |
| 125 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_H_ | 127 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_H_ |
| OLD | NEW |