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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 namespace internal { | 29 namespace internal { |
30 | 30 |
31 // Instance of |Broker| to use. | 31 // Instance of |Broker| to use. |
32 extern Broker* g_broker; | 32 extern Broker* g_broker; |
33 | 33 |
34 // Instance of |PlatformSupport| to use. | 34 // Instance of |PlatformSupport| to use. |
35 extern PlatformSupport* g_platform_support; | 35 extern PlatformSupport* g_platform_support; |
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 MOJO_SYSTEM_IMPL_EXPORT 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 | 41 |
42 // TODO(use_chrome_edk): temporary until we have only one SDK. | |
43 MOJO_SYSTEM_IMPL_EXPORT Core* GetCore(); | |
44 | |
45 } // namespace internal | 42 } // namespace internal |
46 | 43 |
47 } // namepace edk | 44 } // namepace edk |
48 | 45 |
49 } // namespace mojo | 46 } // namespace mojo |
50 | 47 |
51 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ | 48 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ |
OLD | NEW |