Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: mojo/edk/embedder/embedder_internal.h

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
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
7 // the embedder API).
8
9 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_
10 #define MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_
11
12 #include <stdint.h>
13
14 namespace base {
15 class TaskRunner;
16 }
17
18 namespace mojo {
19
20 namespace edk {
21
22 class Core;
23 class PlatformSupport;
24 class ProcessDelegate;
25
26 namespace internal {
27
28 // Instance of |PlatformSupport| to use.
29 extern PlatformSupport* g_platform_support;
30
31 // Instance of |Core| used by the system functions (|Mojo...()|).
32 extern Core* g_core;
33 extern base::TaskRunner* g_delegate_thread_task_runner;
34 extern ProcessDelegate* g_process_delegate;
35 extern base::TaskRunner* g_io_thread_task_runner;
36
37 // Called on the IO thread.
38 void ChannelStarted();
39 void ChannelShutdown();
40 } // namespace internal
41
42 } // namepace edk
43
44 } // namespace mojo
45
46 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698