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

Side by Side Diff: net/socket/ssl_client_socket_win.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "net/socket/ssl_client_socket_win.h" 5 #include "net/socket/ssl_client_socket_win.h"
6 6
7 #include <schnlsp.h> 7 #include <schnlsp.h>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/lock.h" 10 #include "base/lock.h"
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "base/stl_util-inl.h" 12 #include "base/stl_util-inl.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h"
14 #include "net/base/cert_verifier.h" 15 #include "net/base/cert_verifier.h"
15 #include "net/base/connection_type_histograms.h" 16 #include "net/base/connection_type_histograms.h"
16 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
17 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
18 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
19 #include "net/base/ssl_cert_request_info.h" 20 #include "net/base/ssl_cert_request_info.h"
20 #include "net/base/ssl_connection_status_flags.h" 21 #include "net/base/ssl_connection_status_flags.h"
21 #include "net/base/ssl_info.h" 22 #include "net/base/ssl_info.h"
22 #include "net/socket/client_socket_handle.h" 23 #include "net/socket/client_socket_handle.h"
23 24
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 UpdateConnectionTypeHistograms(CONNECTION_SSL_MD2_CA); 1371 UpdateConnectionTypeHistograms(CONNECTION_SSL_MD2_CA);
1371 } 1372 }
1372 1373
1373 void SSLClientSocketWin::FreeSendBuffer() { 1374 void SSLClientSocketWin::FreeSendBuffer() {
1374 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer); 1375 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer);
1375 DCHECK(status == SEC_E_OK); 1376 DCHECK(status == SEC_E_OK);
1376 memset(&send_buffer_, 0, sizeof(send_buffer_)); 1377 memset(&send_buffer_, 0, sizeof(send_buffer_));
1377 } 1378 }
1378 1379
1379 } // namespace net 1380 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/socket_stream/socket_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698