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 THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_EMBEDDER_H_ | 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_EMBEDDER_H_ |
6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_EMBEDDER_H_ | 6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_EMBEDDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/task_runner.h" | 13 #include "base/task_runner.h" |
14 #include "mojo/public/cpp/system/message_pipe.h" | |
15 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h" | 14 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h" |
16 #include "third_party/mojo/src/mojo/edk/embedder/process_type.h" | 15 #include "third_party/mojo/src/mojo/edk/embedder/process_type.h" |
17 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" | 16 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" |
18 #include "third_party/mojo/src/mojo/edk/embedder/slave_info.h" | 17 #include "third_party/mojo/src/mojo/edk/embedder/slave_info.h" |
19 #include "third_party/mojo/src/mojo/edk/system/system_impl_export.h" | 18 #include "third_party/mojo/src/mojo/edk/system/system_impl_export.h" |
| 19 #include "third_party/mojo/src/mojo/public/cpp/system/message_pipe.h" |
20 | 20 |
21 namespace mojo { | 21 namespace mojo { |
22 namespace embedder { | 22 namespace embedder { |
23 | 23 |
24 class ProcessDelegate; | 24 class ProcessDelegate; |
25 | 25 |
26 // Basic configuration/initialization ------------------------------------------ | 26 // Basic configuration/initialization ------------------------------------------ |
27 | 27 |
28 // |Init()| sets up the basic Mojo system environment, making the |Mojo...()| | 28 // |Init()| sets up the basic Mojo system environment, making the |Mojo...()| |
29 // functions available and functional. This is never shut down (except in tests | 29 // functions available and functional. This is never shut down (except in tests |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 // Inform the channel that it will soon be destroyed (doing so is optional). | 232 // Inform the channel that it will soon be destroyed (doing so is optional). |
233 // This may be called from any thread, but the caller must ensure that this is | 233 // This may be called from any thread, but the caller must ensure that this is |
234 // called before |DestroyChannel()|. | 234 // called before |DestroyChannel()|. |
235 MOJO_SYSTEM_IMPL_EXPORT void WillDestroyChannelSoon(ChannelInfo* channel_info); | 235 MOJO_SYSTEM_IMPL_EXPORT void WillDestroyChannelSoon(ChannelInfo* channel_info); |
236 | 236 |
237 } // namespace embedder | 237 } // namespace embedder |
238 } // namespace mojo | 238 } // namespace mojo |
239 | 239 |
240 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_EMBEDDER_H_ | 240 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_EMBEDDER_H_ |
OLD | NEW |