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

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

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « mojo/shell/desktop/mojo_main.cc ('k') | mojo/system/embedder/embedder.h » ('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_SYSTEM_CHANNEL_H_ 5 #ifndef MOJO_SYSTEM_CHANNEL_H_
6 #define MOJO_SYSTEM_CHANNEL_H_ 6 #define MOJO_SYSTEM_CHANNEL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/containers/hash_tables.h" 12 #include "base/containers/hash_tables.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/strings/string_piece.h" 15 #include "base/strings/string_piece.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
18 #include "mojo/embedder/scoped_platform_handle.h"
18 #include "mojo/public/system/core.h" 19 #include "mojo/public/system/core.h"
19 #include "mojo/system/embedder/scoped_platform_handle.h"
20 #include "mojo/system/message_in_transit.h" 20 #include "mojo/system/message_in_transit.h"
21 #include "mojo/system/message_pipe.h" 21 #include "mojo/system/message_pipe.h"
22 #include "mojo/system/raw_channel.h" 22 #include "mojo/system/raw_channel.h"
23 #include "mojo/system/system_impl_export.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 // This class is mostly thread-safe. It must be created on an I/O thread. 28 // This class is mostly thread-safe. It must be created on an I/O thread.
29 // |Init()| must be called on that same thread before it becomes thread-safe (in 29 // |Init()| must be called on that same thread before it becomes thread-safe (in
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // be checked for existence before use. 142 // be checked for existence before use.
143 MessageInTransit::EndpointId next_local_id_; 143 MessageInTransit::EndpointId next_local_id_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(Channel); 145 DISALLOW_COPY_AND_ASSIGN(Channel);
146 }; 146 };
147 147
148 } // namespace system 148 } // namespace system
149 } // namespace mojo 149 } // namespace mojo
150 150
151 #endif // MOJO_SYSTEM_CHANNEL_H_ 151 #endif // MOJO_SYSTEM_CHANNEL_H_
OLDNEW
« no previous file with comments | « mojo/shell/desktop/mojo_main.cc ('k') | mojo/system/embedder/embedder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698