| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |