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

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

Issue 1154903003: "typedef Foo Bar" -> "using Bar = Foo" in //mojo/edk/.... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698