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 THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ | 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ |
6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ | 6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ |
7 | 7 |
8 #include "base/memory/aligned_memory.h" | 8 #include "base/memory/aligned_memory.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "mojo/public/cpp/system/macros.h" | |
11 #include "third_party/mojo/src/mojo/edk/system/data_pipe_impl.h" | 10 #include "third_party/mojo/src/mojo/edk/system/data_pipe_impl.h" |
12 #include "third_party/mojo/src/mojo/edk/system/system_impl_export.h" | 11 #include "third_party/mojo/src/mojo/edk/system/system_impl_export.h" |
| 12 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" |
13 | 13 |
14 namespace mojo { | 14 namespace mojo { |
15 namespace system { | 15 namespace system { |
16 | 16 |
17 class MessageInTransitQueue; | 17 class MessageInTransitQueue; |
18 | 18 |
19 // |LocalDataPipeImpl| is a subclass that "implements" |DataPipe| for data pipes | 19 // |LocalDataPipeImpl| is a subclass that "implements" |DataPipe| for data pipes |
20 // whose producer and consumer are both local. See |DataPipeImpl| for more | 20 // whose producer and consumer are both local. See |DataPipeImpl| for more |
21 // details. | 21 // details. |
22 class MOJO_SYSTEM_IMPL_EXPORT LocalDataPipeImpl final : public DataPipeImpl { | 22 class MOJO_SYSTEM_IMPL_EXPORT LocalDataPipeImpl final : public DataPipeImpl { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 size_t start_index_; | 87 size_t start_index_; |
88 size_t current_num_bytes_; | 88 size_t current_num_bytes_; |
89 | 89 |
90 MOJO_DISALLOW_COPY_AND_ASSIGN(LocalDataPipeImpl); | 90 MOJO_DISALLOW_COPY_AND_ASSIGN(LocalDataPipeImpl); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace system | 93 } // namespace system |
94 } // namespace mojo | 94 } // namespace mojo |
95 | 95 |
96 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ | 96 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ |
OLD | NEW |