OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ | 5 #ifndef REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ |
6 #define REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ | 6 #define REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
10 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
11 #include "remoting/protocol/channel_authenticator.h" | 13 #include "remoting/protocol/channel_authenticator.h" |
12 #include "remoting/protocol/pepper_channel.h" | 14 #include "remoting/protocol/pepper_channel.h" |
13 #include "remoting/protocol/pepper_transport_socket_adapter.h" | 15 #include "remoting/protocol/pepper_transport_socket_adapter.h" |
14 #include "remoting/protocol/session.h" | 16 #include "remoting/protocol/session.h" |
15 | 17 |
16 namespace net { | 18 namespace net { |
17 class CertVerifier; | 19 class CertVerifier; |
18 class StreamSocket; | 20 class StreamSocket; |
19 class SSLClientSocket; | 21 class SSLClientSocket; |
20 class SSLServerSocket; | |
21 } // namespace net | 22 } // namespace net |
22 | 23 |
23 namespace remoting { | 24 namespace remoting { |
24 namespace protocol { | 25 namespace protocol { |
25 | 26 |
26 class PepperSession; | 27 class PepperSession; |
27 | 28 |
28 class PepperStreamChannel : public PepperChannel, | 29 class PepperStreamChannel : public PepperChannel, |
29 public PepperTransportSocketAdapter::Observer { | 30 public PepperTransportSocketAdapter::Observer { |
30 public: | 31 public: |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 net::OldCompletionCallbackImpl<PepperStreamChannel> p2p_connect_callback_; | 84 net::OldCompletionCallbackImpl<PepperStreamChannel> p2p_connect_callback_; |
84 net::OldCompletionCallbackImpl<PepperStreamChannel> ssl_connect_callback_; | 85 net::OldCompletionCallbackImpl<PepperStreamChannel> ssl_connect_callback_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(PepperStreamChannel); | 87 DISALLOW_COPY_AND_ASSIGN(PepperStreamChannel); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace protocol | 90 } // namespace protocol |
90 } // namespace remoting | 91 } // namespace remoting |
91 | 92 |
92 #endif // REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ | 93 #endif // REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ |
OLD | NEW |