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

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

Issue 103533008: Mojo: More data pipe implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indentation Created 7 years 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/system/memory.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_SYSTEM_MESSAGE_PIPE_H_ 5 #ifndef MOJO_SYSTEM_MESSAGE_PIPE_H_
6 #define MOJO_SYSTEM_MESSAGE_PIPE_H_ 6 #define MOJO_SYSTEM_MESSAGE_PIPE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h"
12 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
15 #include "mojo/public/system/core.h" 14 #include "mojo/public/system/core.h"
16 #include "mojo/system/message_in_transit.h" 15 #include "mojo/system/message_in_transit.h"
17 #include "mojo/system/system_impl_export.h" 16 #include "mojo/system/system_impl_export.h"
18 17
19 namespace mojo { 18 namespace mojo {
20 namespace system { 19 namespace system {
21 20
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 base::Lock lock_; // Protects the following members. 88 base::Lock lock_; // Protects the following members.
90 scoped_ptr<MessagePipeEndpoint> endpoints_[2]; 89 scoped_ptr<MessagePipeEndpoint> endpoints_[2];
91 90
92 DISALLOW_COPY_AND_ASSIGN(MessagePipe); 91 DISALLOW_COPY_AND_ASSIGN(MessagePipe);
93 }; 92 };
94 93
95 } // namespace system 94 } // namespace system
96 } // namespace mojo 95 } // namespace mojo
97 96
98 #endif // MOJO_SYSTEM_MESSAGE_PIPE_H_ 97 #endif // MOJO_SYSTEM_MESSAGE_PIPE_H_
OLDNEW
« no previous file with comments | « mojo/system/memory.cc ('k') | mojo/system/message_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698