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 20 matching lines...) Expand all Loading... |
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 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 MOJO_SYSTEM_IMPL_EXPORT 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 } // namespace internal | 46 } // namespace internal |
47 | 47 |
48 } // namepace edk | 48 } // namepace edk |
49 | 49 |
50 } // namespace mojo | 50 } // namespace mojo |
51 | 51 |
52 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ | 52 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ |
OLD | NEW |