OLD | NEW |
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_EDK_SYSTEM_CHANNEL_ENDPOINT_CLIENT_H_ | 5 #ifndef MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_CLIENT_H_ |
6 #define MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_CLIENT_H_ | 6 #define MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_CLIENT_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "mojo/edk/system/system_impl_export.h" | 9 #include "mojo/edk/system/system_impl_export.h" |
11 #include "mojo/public/cpp/system/macros.h" | 10 #include "mojo/public/cpp/system/macros.h" |
12 | 11 |
13 namespace mojo { | 12 namespace mojo { |
14 namespace system { | 13 namespace system { |
15 | 14 |
16 class MessageInTransit; | 15 class MessageInTransit; |
17 | 16 |
18 // Interface for receivers of messages from |ChannelEndpoint| (hence from | 17 // Interface for receivers of messages from |ChannelEndpoint| (hence from |
19 // |Channel|). |port| is simply the value passed to |ChannelEndpoint| on | 18 // |Channel|). |port| is simply the value passed to |ChannelEndpoint| on |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 friend class base::RefCountedThreadSafe<ChannelEndpointClient>; | 53 friend class base::RefCountedThreadSafe<ChannelEndpointClient>; |
55 | 54 |
56 private: | 55 private: |
57 MOJO_DISALLOW_COPY_AND_ASSIGN(ChannelEndpointClient); | 56 MOJO_DISALLOW_COPY_AND_ASSIGN(ChannelEndpointClient); |
58 }; | 57 }; |
59 | 58 |
60 } // namespace system | 59 } // namespace system |
61 } // namespace mojo | 60 } // namespace mojo |
62 | 61 |
63 #endif // MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_CLIENT_H_ | 62 #endif // MOJO_EDK_SYSTEM_CHANNEL_ENDPOINT_CLIENT_H_ |
OLD | NEW |