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

Side by Side Diff: net/ssl/client_cert_store_impl_win.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 | « net/ssl/client_cert_store_impl_unittest.cc ('k') | net/ssl/default_server_bound_cert_store.h » ('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 "net/base/client_cert_store_impl.h" 5 #include "net/ssl/client_cert_store_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #define SECURITY_WIN32 // Needs to be defined before including security.h 10 #define SECURITY_WIN32 // Needs to be defined before including security.h
11 #include <windows.h> 11 #include <windows.h>
12 #include <wincrypt.h> 12 #include <wincrypt.h>
13 #include <security.h> 13 #include <security.h>
14 14
15 #include "base/logging.h" 15 #include "base/logging.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // copy). 195 // copy).
196 if (!CertFreeCertificateContext(cert)) 196 if (!CertFreeCertificateContext(cert))
197 return false; 197 return false;
198 } 198 }
199 199
200 bool rv = GetClientCertsImpl(test_store.get(), request, selected_certs); 200 bool rv = GetClientCertsImpl(test_store.get(), request, selected_certs);
201 return rv; 201 return rv;
202 } 202 }
203 203
204 } // namespace net 204 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/client_cert_store_impl_unittest.cc ('k') | net/ssl/default_server_bound_cert_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698