| 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_CLIENT_CHANNEL_AUTHENTICATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_V1_CLIENT_CHANNEL_AUTHENTICATOR_H_ |
| 6 #define REMOTING_PROTOCOL_V1_CLIENT_CHANNEL_AUTHENTICATOR_H_ | 6 #define REMOTING_PROTOCOL_V1_CLIENT_CHANNEL_AUTHENTICATOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 bool HandleAuthBytesWritten(int result); | 42 bool HandleAuthBytesWritten(int result); |
| 43 | 43 |
| 44 std::string host_cert_; | 44 std::string host_cert_; |
| 45 std::string shared_secret_; | 45 std::string shared_secret_; |
| 46 scoped_ptr<net::SSLClientSocket> socket_; | 46 scoped_ptr<net::SSLClientSocket> socket_; |
| 47 DoneCallback done_callback_; | 47 DoneCallback done_callback_; |
| 48 | 48 |
| 49 scoped_ptr<net::CertVerifier> cert_verifier_; | 49 scoped_ptr<net::CertVerifier> cert_verifier_; |
| 50 scoped_refptr<net::DrainableIOBuffer> auth_write_buf_; | 50 scoped_refptr<net::DrainableIOBuffer> auth_write_buf_; |
| 51 | 51 |
| 52 net::OldCompletionCallbackImpl<V1ClientChannelAuthenticator> | |
| 53 connect_callback_; | |
| 54 net::OldCompletionCallbackImpl<V1ClientChannelAuthenticator> | |
| 55 auth_write_callback_; | |
| 56 | |
| 57 DISALLOW_COPY_AND_ASSIGN(V1ClientChannelAuthenticator); | 52 DISALLOW_COPY_AND_ASSIGN(V1ClientChannelAuthenticator); |
| 58 }; | 53 }; |
| 59 | 54 |
| 60 } // namespace protocol | 55 } // namespace protocol |
| 61 } // namespace remoting | 56 } // namespace remoting |
| 62 | 57 |
| 63 #endif // REMOTING_PROTOCOL_V1_CLIENT_CHANNEL_AUTHENTICATOR_H_ | 58 #endif // REMOTING_PROTOCOL_V1_CLIENT_CHANNEL_AUTHENTICATOR_H_ |
| OLD | NEW |