OLD | NEW |
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 "chrome/browser/chromeos/net/client_cert_store_chromeos.h" | 5 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h" |
6 | 6 |
7 #include <cert.h> | 7 #include <cert.h> |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 unfiltered_certs.erase( | 106 unfiltered_certs.erase( |
107 std::remove_if(unfiltered_certs.begin(), unfiltered_certs.end(), | 107 std::remove_if(unfiltered_certs.begin(), unfiltered_certs.end(), |
108 CertNotAllowedPredicate(cert_filter_.get())), | 108 CertNotAllowedPredicate(cert_filter_.get())), |
109 unfiltered_certs.end()); | 109 unfiltered_certs.end()); |
110 | 110 |
111 unfiltered_certs.insert(unfiltered_certs.end(), additional_certs.begin(), | 111 unfiltered_certs.insert(unfiltered_certs.end(), additional_certs.begin(), |
112 additional_certs.end()); | 112 additional_certs.end()); |
113 | 113 |
114 net::ClientCertStoreNSS::FilterCertsOnWorkerThread(unfiltered_certs, *request, | 114 net::ClientCertStoreNSS::FilterCertsOnWorkerThread(unfiltered_certs, *request, |
115 true, selected_certs); | 115 selected_certs); |
116 } | 116 } |
117 | 117 |
118 } // namespace chromeos | 118 } // namespace chromeos |
OLD | NEW |