Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Side by Side Diff: remoting/protocol/v1_client_channel_authenticator.h

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « remoting/protocol/socket_reader_base.cc ('k') | remoting/protocol/v1_client_channel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698