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

Side by Side Diff: mojo/system/data_pipe.h

Issue 623883002: Revert "Move mojo edk into mojo/edk" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/system/core_unittest.cc ('k') | mojo/system/data_pipe.cc » ('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 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_DATA_PIPE_H_ 5 #ifndef MOJO_SYSTEM_DATA_PIPE_H_
6 #define MOJO_EDK_SYSTEM_DATA_PIPE_H_ 6 #define MOJO_SYSTEM_DATA_PIPE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "mojo/edk/system/handle_signals_state.h"
15 #include "mojo/edk/system/memory.h"
16 #include "mojo/edk/system/system_impl_export.h"
17 #include "mojo/public/c/system/data_pipe.h" 14 #include "mojo/public/c/system/data_pipe.h"
18 #include "mojo/public/c/system/types.h" 15 #include "mojo/public/c/system/types.h"
16 #include "mojo/system/handle_signals_state.h"
17 #include "mojo/system/memory.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 Waiter; 23 class Waiter;
24 class WaiterList; 24 class WaiterList;
25 25
26 // |DataPipe| is a base class for secondary objects implementing data pipes, 26 // |DataPipe| is a base class for secondary objects implementing data pipes,
27 // similar to |MessagePipe| (see the explanatory comment in core.cc). It is 27 // similar to |MessagePipe| (see the explanatory comment in core.cc). It is
28 // typically owned by the dispatcher(s) corresponding to the local endpoints. 28 // typically owned by the dispatcher(s) corresponding to the local endpoints.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // These are nonzero if and only if a two-phase write/read is in progress. 206 // These are nonzero if and only if a two-phase write/read is in progress.
207 uint32_t producer_two_phase_max_num_bytes_written_; 207 uint32_t producer_two_phase_max_num_bytes_written_;
208 uint32_t consumer_two_phase_max_num_bytes_read_; 208 uint32_t consumer_two_phase_max_num_bytes_read_;
209 209
210 DISALLOW_COPY_AND_ASSIGN(DataPipe); 210 DISALLOW_COPY_AND_ASSIGN(DataPipe);
211 }; 211 };
212 212
213 } // namespace system 213 } // namespace system
214 } // namespace mojo 214 } // namespace mojo
215 215
216 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_H_ 216 #endif // MOJO_SYSTEM_DATA_PIPE_H_
OLDNEW
« no previous file with comments | « mojo/system/core_unittest.cc ('k') | mojo/system/data_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698