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_V1_HOST_CHANNEL_AUTHENTICATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_V1_HOST_CHANNEL_AUTHENTICATOR_H_ |
6 #define REMOTING_PROTOCOL_V1_HOST_CHANNEL_AUTHENTICATOR_H_ | 6 #define REMOTING_PROTOCOL_V1_HOST_CHANNEL_AUTHENTICATOR_H_ |
7 | 7 |
8 #include "remoting/protocol/channel_authenticator.h" | 8 #include "remoting/protocol/channel_authenticator.h" |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 std::string local_cert_; | 48 std::string local_cert_; |
49 crypto::RSAPrivateKey* local_private_key_; | 49 crypto::RSAPrivateKey* local_private_key_; |
50 std::string shared_secret_; | 50 std::string shared_secret_; |
51 scoped_ptr<net::SSLServerSocket> socket_; | 51 scoped_ptr<net::SSLServerSocket> socket_; |
52 DoneCallback done_callback_; | 52 DoneCallback done_callback_; |
53 | 53 |
54 scoped_refptr<net::GrowableIOBuffer> auth_read_buf_; | 54 scoped_refptr<net::GrowableIOBuffer> auth_read_buf_; |
55 | 55 |
56 net::OldCompletionCallbackImpl<V1HostChannelAuthenticator> | 56 net::OldCompletionCallbackImpl<V1HostChannelAuthenticator> |
57 connect_callback_; | 57 connect_callback_; |
58 net::OldCompletionCallbackImpl<V1HostChannelAuthenticator> | |
59 auth_read_callback_; | |
60 | 58 |
61 DISALLOW_COPY_AND_ASSIGN(V1HostChannelAuthenticator); | 59 DISALLOW_COPY_AND_ASSIGN(V1HostChannelAuthenticator); |
62 }; | 60 }; |
63 | 61 |
64 } // namespace protocol | 62 } // namespace protocol |
65 } // namespace remoting | 63 } // namespace remoting |
66 | 64 |
67 #endif // REMOTING_PROTOCOL_V1_HOST_CHANNEL_AUTHENTICATOR_H_ | 65 #endif // REMOTING_PROTOCOL_V1_HOST_CHANNEL_AUTHENTICATOR_H_ |
OLD | NEW |