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

Side by Side Diff: mojo/system/message_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/message_in_transit_queue.cc ('k') | mojo/system/message_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_MESSAGE_PIPE_H_ 5 #ifndef MOJO_SYSTEM_MESSAGE_PIPE_H_
6 #define MOJO_EDK_SYSTEM_MESSAGE_PIPE_H_ 6 #define MOJO_SYSTEM_MESSAGE_PIPE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "mojo/edk/system/dispatcher.h"
17 #include "mojo/edk/system/handle_signals_state.h"
18 #include "mojo/edk/system/memory.h"
19 #include "mojo/edk/system/message_in_transit.h"
20 #include "mojo/edk/system/message_pipe_endpoint.h"
21 #include "mojo/edk/system/system_impl_export.h"
22 #include "mojo/public/c/system/message_pipe.h" 16 #include "mojo/public/c/system/message_pipe.h"
23 #include "mojo/public/c/system/types.h" 17 #include "mojo/public/c/system/types.h"
18 #include "mojo/system/dispatcher.h"
19 #include "mojo/system/handle_signals_state.h"
20 #include "mojo/system/memory.h"
21 #include "mojo/system/message_in_transit.h"
22 #include "mojo/system/message_pipe_endpoint.h"
23 #include "mojo/system/system_impl_export.h"
24 24
25 namespace mojo { 25 namespace mojo {
26 namespace system { 26 namespace system {
27 27
28 class ChannelEndpoint; 28 class ChannelEndpoint;
29 class Waiter; 29 class Waiter;
30 30
31 // |MessagePipe| is the secondary object implementing a message pipe (see the 31 // |MessagePipe| is the secondary object implementing a message pipe (see the
32 // explanatory comment in core.cc). It is typically owned by the dispatcher(s) 32 // explanatory comment in core.cc). It is typically owned by the dispatcher(s)
33 // corresponding to the local endpoints. This class is thread-safe. 33 // corresponding to the local endpoints. This class is thread-safe.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 base::Lock lock_; // Protects the following members. 123 base::Lock lock_; // Protects the following members.
124 scoped_ptr<MessagePipeEndpoint> endpoints_[2]; 124 scoped_ptr<MessagePipeEndpoint> endpoints_[2];
125 125
126 DISALLOW_COPY_AND_ASSIGN(MessagePipe); 126 DISALLOW_COPY_AND_ASSIGN(MessagePipe);
127 }; 127 };
128 128
129 } // namespace system 129 } // namespace system
130 } // namespace mojo 130 } // namespace mojo
131 131
132 #endif // MOJO_EDK_SYSTEM_MESSAGE_PIPE_H_ 132 #endif // MOJO_SYSTEM_MESSAGE_PIPE_H_
OLDNEW
« no previous file with comments | « mojo/system/message_in_transit_queue.cc ('k') | mojo/system/message_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698