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

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

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps 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/edk/system/channel.cc ('k') | mojo/edk/system/channel_endpoint.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SYSTEM_CHANNEL_ENDPOINT_H_ 5 #ifndef MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_H_
6 #define MOJO_SYSTEM_CHANNEL_ENDPOINT_H_ 6 #define MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "mojo/embedder/platform_handle_vector.h" 12 #include "mojo/edk/embedder/platform_handle_vector.h"
13 #include "mojo/system/message_in_transit.h" 13 #include "mojo/edk/system/message_in_transit.h"
14 #include "mojo/system/message_in_transit_queue.h" 14 #include "mojo/edk/system/message_in_transit_queue.h"
15 #include "mojo/system/system_impl_export.h" 15 #include "mojo/edk/system/system_impl_export.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace system { 18 namespace system {
19 19
20 class Channel; 20 class Channel;
21 class MessagePipe; 21 class MessagePipe;
22 22
23 // TODO(vtl): The plan: 23 // TODO(vtl): The plan:
24 // - (Done.) Move |Channel::Endpoint| to |ChannelEndpoint|. Make it 24 // - (Done.) Move |Channel::Endpoint| to |ChannelEndpoint|. Make it
25 // refcounted, and not copyable. Make |Channel| a friend. Make things work. 25 // refcounted, and not copyable. Make |Channel| a friend. Make things work.
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // This queue is used before we're running on a channel and ready to send 200 // This queue is used before we're running on a channel and ready to send
201 // messages. 201 // messages.
202 MessageInTransitQueue paused_message_queue_; 202 MessageInTransitQueue paused_message_queue_;
203 203
204 DISALLOW_COPY_AND_ASSIGN(ChannelEndpoint); 204 DISALLOW_COPY_AND_ASSIGN(ChannelEndpoint);
205 }; 205 };
206 206
207 } // namespace system 207 } // namespace system
208 } // namespace mojo 208 } // namespace mojo
209 209
210 #endif // MOJO_SYSTEM_CHANNEL_ENDPOINT_H_ 210 #endif // MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_H_
OLDNEW
« no previous file with comments | « mojo/edk/system/channel.cc ('k') | mojo/edk/system/channel_endpoint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698