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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 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 #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 #include <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/stl_util-inl.h" 12 #include "base/stl_util.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "net/base/cert_verifier.h" 16 #include "net/base/cert_verifier.h"
17 #include "net/base/connection_type_histograms.h" 17 #include "net/base/connection_type_histograms.h"
18 #include "net/base/host_port_pair.h" 18 #include "net/base/host_port_pair.h"
19 #include "net/base/io_buffer.h" 19 #include "net/base/io_buffer.h"
20 #include "net/base/net_log.h" 20 #include "net/base/net_log.h"
21 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
22 #include "net/base/ssl_cert_request_info.h" 22 #include "net/base/ssl_cert_request_info.h"
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1512 UpdateConnectionTypeHistograms(CONNECTION_SSL_MD2_CA); 1512 UpdateConnectionTypeHistograms(CONNECTION_SSL_MD2_CA);
1513 } 1513 }
1514 1514
1515 void SSLClientSocketWin::FreeSendBuffer() { 1515 void SSLClientSocketWin::FreeSendBuffer() {
1516 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer); 1516 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer);
1517 DCHECK(status == SEC_E_OK); 1517 DCHECK(status == SEC_E_OK);
1518 memset(&send_buffer_, 0, sizeof(send_buffer_)); 1518 memset(&send_buffer_, 0, sizeof(send_buffer_));
1519 } 1519 }
1520 1520
1521 } // namespace net 1521 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698