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

Side by Side Diff: mojo/edk/system/data_pipe_impl.h

Issue 2229573002: Change the canonical way to include the C macros.h to <mojo/macros.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « mojo/edk/system/core.cc ('k') | mojo/edk/system/memory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ 5 #ifndef MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_
6 #define MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ 6 #define MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_
7 7
8 #include <mojo/macros.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <utility> 11 #include <utility>
11 #include <vector> 12 #include <vector>
12 13
13 #include "mojo/edk/platform/scoped_platform_handle.h" 14 #include "mojo/edk/platform/scoped_platform_handle.h"
14 #include "mojo/edk/system/data_pipe.h" 15 #include "mojo/edk/system/data_pipe.h"
15 #include "mojo/edk/system/handle_signals_state.h" 16 #include "mojo/edk/system/handle_signals_state.h"
16 #include "mojo/edk/system/memory.h" 17 #include "mojo/edk/system/memory.h"
17 #include "mojo/edk/util/thread_annotations.h" 18 #include "mojo/edk/util/thread_annotations.h"
18 #include "mojo/public/c/system/data_pipe.h" 19 #include "mojo/public/c/system/data_pipe.h"
19 #include "mojo/public/c/system/macros.h"
20 #include "mojo/public/c/system/result.h" 20 #include "mojo/public/c/system/result.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace system { 23 namespace system {
24 24
25 class Channel; 25 class Channel;
26 class MessageInTransit; 26 class MessageInTransit;
27 27
28 // Base class/interface for classes that "implement" |DataPipe| for various 28 // Base class/interface for classes that "implement" |DataPipe| for various
29 // situations (local versus remote). The methods, other than the constructor, 29 // situations (local versus remote). The methods, other than the constructor,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 struct MOJO_ALIGNAS(8) SerializedDataPipeConsumerDispatcher { 201 struct MOJO_ALIGNAS(8) SerializedDataPipeConsumerDispatcher {
202 // Only validated (and thus canonicalized) options should be serialized. 202 // Only validated (and thus canonicalized) options should be serialized.
203 // However, the deserializer must revalidate (as with everything received). 203 // However, the deserializer must revalidate (as with everything received).
204 MojoCreateDataPipeOptions validated_options; 204 MojoCreateDataPipeOptions validated_options;
205 }; 205 };
206 206
207 } // namespace system 207 } // namespace system
208 } // namespace mojo 208 } // namespace mojo
209 209
210 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ 210 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/edk/system/core.cc ('k') | mojo/edk/system/memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698