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

Side by Side Diff: net/ssl/client_cert_store_nss.cc

Issue 1615713003: Allow std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: leak_detector fixes and git cl format Created 4 years, 11 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
« no previous file with comments | « net/spdy/spdy_alt_svc_wire_format.cc ('k') | net/tools/quic/quic_server_session_base_test.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ssl/client_cert_store_nss.h" 5 #include "net/ssl/client_cert_store_nss.h"
6 6
7 #include <nss.h> 7 #include <nss.h>
8 #include <ssl.h> 8 #include <ssl.h>
9
10 #include <algorithm>
9 #include <utility> 11 #include <utility>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
13 #include "base/location.h" 15 #include "base/location.h"
14 #include "base/logging.h" 16 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
16 #include "base/strings/string_piece.h" 18 #include "base/strings/string_piece.h"
17 #include "base/threading/worker_pool.h" 19 #include "base/threading/worker_pool.h"
18 #include "crypto/nss_crypto_module_delegate.h" 20 #include "crypto/nss_crypto_module_delegate.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 137 }
136 for (CERTCertListNode* node = CERT_LIST_HEAD(found_certs); 138 for (CERTCertListNode* node = CERT_LIST_HEAD(found_certs);
137 !CERT_LIST_END(node, found_certs); node = CERT_LIST_NEXT(node)) { 139 !CERT_LIST_END(node, found_certs); node = CERT_LIST_NEXT(node)) {
138 certs->push_back(X509Certificate::CreateFromHandle( 140 certs->push_back(X509Certificate::CreateFromHandle(
139 node->cert, X509Certificate::OSCertHandles())); 141 node->cert, X509Certificate::OSCertHandles()));
140 } 142 }
141 CERT_DestroyCertList(found_certs); 143 CERT_DestroyCertList(found_certs);
142 } 144 }
143 145
144 } // namespace net 146 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_alt_svc_wire_format.cc ('k') | net/tools/quic/quic_server_session_base_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698