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

Side by Side Diff: net/cert/nss_profile_filter_chromeos.cc

Issue 2711113002: net: remove CryptoModuleList typedef (Closed)
Patch Set: more std::moves Created 3 years, 10 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/cert/nss_profile_filter_chromeos.h ('k') | no next file » | 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/cert/nss_profile_filter_chromeos.h" 5 #include "net/cert/nss_profile_filter_chromeos.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bool NSSProfileFilterChromeOS::CertNotAllowedForProfilePredicate::operator()( 146 bool NSSProfileFilterChromeOS::CertNotAllowedForProfilePredicate::operator()(
147 const scoped_refptr<X509Certificate>& cert) const { 147 const scoped_refptr<X509Certificate>& cert) const {
148 return !filter_.IsCertAllowed(cert->os_cert_handle()); 148 return !filter_.IsCertAllowed(cert->os_cert_handle());
149 } 149 }
150 150
151 NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate:: 151 NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate::
152 ModuleNotAllowedForProfilePredicate(const NSSProfileFilterChromeOS& filter) 152 ModuleNotAllowedForProfilePredicate(const NSSProfileFilterChromeOS& filter)
153 : filter_(filter) {} 153 : filter_(filter) {}
154 154
155 bool NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate::operator()( 155 bool NSSProfileFilterChromeOS::ModuleNotAllowedForProfilePredicate::operator()(
156 const scoped_refptr<CryptoModule>& module) const { 156 const crypto::ScopedPK11Slot& module) const {
157 return !filter_.IsModuleAllowed(module->os_module_handle()); 157 return !filter_.IsModuleAllowed(module.get());
158 } 158 }
159 159
160 } // namespace net 160 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/nss_profile_filter_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698