OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MESSAGE_IN_TRANSIT_H_ | 5 #ifndef MOJO_SYSTEM_MESSAGE_IN_TRANSIT_H_ |
6 #define MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_H_ | 6 #define MOJO_SYSTEM_MESSAGE_IN_TRANSIT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/aligned_memory.h" | 14 #include "base/memory/aligned_memory.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "mojo/edk/system/dispatcher.h" | 16 #include "mojo/system/dispatcher.h" |
17 #include "mojo/edk/system/memory.h" | 17 #include "mojo/system/memory.h" |
18 #include "mojo/edk/system/system_impl_export.h" | 18 #include "mojo/system/system_impl_export.h" |
19 | 19 |
20 namespace mojo { | 20 namespace mojo { |
21 namespace system { | 21 namespace system { |
22 | 22 |
23 class Channel; | 23 class Channel; |
24 class TransportData; | 24 class TransportData; |
25 | 25 |
26 // This class is used to represent data in transit. It is thread-unsafe. | 26 // This class is used to represent data in transit. It is thread-unsafe. |
27 // | 27 // |
28 // |MessageInTransit| buffers: | 28 // |MessageInTransit| buffers: |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 // allow a dispatcher entry to be null, in case it couldn't be duplicated for | 257 // allow a dispatcher entry to be null, in case it couldn't be duplicated for |
258 // some reason.) | 258 // some reason.) |
259 scoped_ptr<DispatcherVector> dispatchers_; | 259 scoped_ptr<DispatcherVector> dispatchers_; |
260 | 260 |
261 DISALLOW_COPY_AND_ASSIGN(MessageInTransit); | 261 DISALLOW_COPY_AND_ASSIGN(MessageInTransit); |
262 }; | 262 }; |
263 | 263 |
264 } // namespace system | 264 } // namespace system |
265 } // namespace mojo | 265 } // namespace mojo |
266 | 266 |
267 #endif // MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_H_ | 267 #endif // MOJO_SYSTEM_MESSAGE_IN_TRANSIT_H_ |
OLD | NEW |