Chromium Code Reviews| 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_ |
| 11 | 11 |
| 12 #include <stdint.h> | 12 #include <stdint.h> |
| 13 | 13 |
| 14 #include "mojo/edk/embedder/process_type.h" | 14 #include "mojo/edk/embedder/process_type.h" |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class TaskRunner; | 17 class TaskRunner; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace mojo { | 20 namespace mojo { |
| 21 | 21 |
| 22 namespace system { | 22 namespace system { |
| 23 | 23 |
| 24 class ChannelManager; | 24 class ChannelManager; |
| 25 class Core; | 25 class Core; |
| 26 | 26 |
| 27 // Repeat a typedef in mojo/edk/system/channel_manager.h, to avoid including it. | 27 // Duplicate from mojo/edk/system/channel_manager.h, to avoid including it. |
|
jamesr
2015/05/22 18:16:04
might be nice to split this into its own header
viettrungluu
2015/05/22 18:24:27
Will consider, though having a header with just a
| |
| 28 typedef uint64_t ChannelId; | 28 using ChannelId = uint64_t; |
| 29 | 29 |
| 30 } // namespace system | 30 } // namespace system |
| 31 | 31 |
| 32 namespace embedder { | 32 namespace embedder { |
| 33 | 33 |
| 34 class PlatformSupport; | 34 class PlatformSupport; |
| 35 class ProcessDelegate; | 35 class ProcessDelegate; |
| 36 | 36 |
| 37 // This is a type that's opaque to users of the embedder API (which only | 37 // This is a type that's opaque to users of the embedder API (which only |
| 38 // gives/takes |ChannelInfo*|s). We make it a struct to make it | 38 // gives/takes |ChannelInfo*|s). We make it a struct to make it |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 58 // after |ShutdownIPCSupport()|. | 58 // after |ShutdownIPCSupport()|. |
| 59 extern ProcessType g_process_type; | 59 extern ProcessType g_process_type; |
| 60 | 60 |
| 61 } // namespace internal | 61 } // namespace internal |
| 62 | 62 |
| 63 } // namepace embedder | 63 } // namepace embedder |
| 64 | 64 |
| 65 } // namespace mojo | 65 } // namespace mojo |
| 66 | 66 |
| 67 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ | 67 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_ |
| OLD | NEW |