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 // This header contains internal details for the *implementation* of the | 5 // This header contains internal details for the *implementation* of the |
6 // embedder API. It should not be included by any public header (nor by users of | 6 // embedder API. It should not be included by any public header (nor by users of |
7 // the embedder API). | 7 // the embedder API). |
8 | 8 |
9 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ | 9 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ |
10 #define MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ | 10 #define MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // Instance of |Core| used by the system functions (|Mojo...()|). | 37 // Instance of |Core| used by the system functions (|Mojo...()|). |
38 extern Core* g_core; | 38 extern Core* g_core; |
39 extern base::TaskRunner* g_delegate_thread_task_runner; | 39 extern base::TaskRunner* g_delegate_thread_task_runner; |
40 extern ProcessDelegate* g_process_delegate; | 40 extern ProcessDelegate* g_process_delegate; |
41 extern base::TaskRunner* g_io_thread_task_runner; | 41 extern base::TaskRunner* g_io_thread_task_runner; |
42 | 42 |
43 // TODO(use_chrome_edk): temporary until we have only one SDK. | 43 // TODO(use_chrome_edk): temporary until we have only one SDK. |
44 MOJO_SYSTEM_IMPL_EXPORT Core* GetCore(); | 44 MOJO_SYSTEM_IMPL_EXPORT Core* GetCore(); |
45 | 45 |
46 // Called on the IO thread. | |
47 void ChannelStarted(); | |
48 void ChannelShutdown(); | |
49 } // namespace internal | 46 } // namespace internal |
50 | 47 |
51 } // namepace edk | 48 } // namepace edk |
52 | 49 |
53 } // namespace mojo | 50 } // namespace mojo |
54 | 51 |
55 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ | 52 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ |
OLD | NEW |