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

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

Issue 115870: Reduce header dependencies in net/ (Closed)
Patch Set: Created 11 years, 6 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/base/ssl_client_socket_win.h" 5 #include "net/base/ssl_client_socket_win.h"
6 6
7 #include <schnlsp.h> 7 #include <schnlsp.h>
8 8
9 #include "base/lock.h" 9 #include "base/lock.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "net/base/connection_type_histograms.h" 12 #include "net/base/connection_type_histograms.h"
13 #include "net/base/io_buffer.h"
13 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
14 #include "net/base/ssl_info.h" 15 #include "net/base/ssl_info.h"
15 16
16 #pragma comment(lib, "secur32.lib") 17 #pragma comment(lib, "secur32.lib")
17 18
18 namespace net { 19 namespace net {
19 20
20 //----------------------------------------------------------------------------- 21 //-----------------------------------------------------------------------------
21 22
22 // TODO(wtc): See http://msdn.microsoft.com/en-us/library/aa377188(VS.85).aspx 23 // TODO(wtc): See http://msdn.microsoft.com/en-us/library/aa377188(VS.85).aspx
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 } 1028 }
1028 } 1029 }
1029 1030
1030 void SSLClientSocketWin::FreeSendBuffer() { 1031 void SSLClientSocketWin::FreeSendBuffer() {
1031 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer); 1032 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer);
1032 DCHECK(status == SEC_E_OK); 1033 DCHECK(status == SEC_E_OK);
1033 memset(&send_buffer_, 0, sizeof(send_buffer_)); 1034 memset(&send_buffer_, 0, sizeof(send_buffer_));
1034 } 1035 }
1035 1036
1036 } // namespace net 1037 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698