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

Side by Side Diff: remoting/protocol/ssl_hmac_channel_authenticator.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months 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
« no previous file with comments | « remoting/host/url_request_context.cc ('k') | sync/tools/sync_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" 5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "crypto/secure_util.h" 9 #include "crypto/secure_util.h"
10 #include "net/base/cert_verifier.h" 10 #include "net/base/cert_verifier.h"
11 #include "net/base/host_port_pair.h" 11 #include "net/base/host_port_pair.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/base/ssl_config_service.h"
15 #include "net/base/x509_certificate.h" 14 #include "net/base/x509_certificate.h"
16 #include "net/socket/client_socket_factory.h" 15 #include "net/socket/client_socket_factory.h"
17 #include "net/socket/ssl_client_socket.h" 16 #include "net/socket/ssl_client_socket.h"
18 #include "net/socket/ssl_server_socket.h" 17 #include "net/socket/ssl_server_socket.h"
18 #include "net/ssl/ssl_config_service.h"
19 #include "remoting/base/rsa_key_pair.h" 19 #include "remoting/base/rsa_key_pair.h"
20 #include "remoting/protocol/auth_util.h" 20 #include "remoting/protocol/auth_util.h"
21 21
22 namespace remoting { 22 namespace remoting {
23 namespace protocol { 23 namespace protocol {
24 24
25 // static 25 // static
26 scoped_ptr<SslHmacChannelAuthenticator> 26 scoped_ptr<SslHmacChannelAuthenticator>
27 SslHmacChannelAuthenticator::CreateForClient( 27 SslHmacChannelAuthenticator::CreateForClient(
28 const std::string& remote_cert, 28 const std::string& remote_cert,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 } 257 }
258 } 258 }
259 259
260 void SslHmacChannelAuthenticator::NotifyError(int error) { 260 void SslHmacChannelAuthenticator::NotifyError(int error) {
261 done_callback_.Run(static_cast<net::Error>(error), 261 done_callback_.Run(static_cast<net::Error>(error),
262 scoped_ptr<net::StreamSocket>(NULL)); 262 scoped_ptr<net::StreamSocket>(NULL));
263 } 263 }
264 264
265 } // namespace protocol 265 } // namespace protocol
266 } // namespace remoting 266 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/url_request_context.cc ('k') | sync/tools/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698