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

Side by Side Diff: net/base/cert_verify_proc_mac.h

Issue 9584041: Create stubs for system certificate validation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exclude CertVerifyProcNSS for non-NSS-only systems, for now Created 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_CERT_VERIFY_PROC_MAC_H_
6 #define NET_BASE_CERT_VERIFY_PROC_MAC_H_
7 #pragma once
wtc 2012/03/13 22:37:57 Why doesn't this header need #pragma once? Same q
Ryan Sleevi 2012/03/14 00:58:50 It does. This was an oversight. Thanks for catchin
8
9 #include "net/base/multi_threaded_cert_verifier.h"
10
11 namespace net {
12
13 // CertVerifyProcMac is a VerifyProc implementation that verifies certificates
14 // using OS X's Security.framework for path building and verification.
wtc 2012/03/06 23:10:14 Nit: path => certification path This is for the b
15 class CertVerifyProcMac : public MultiThreadedCertVerifier::VerifyProc {
16 public:
17 CertVerifyProcMac();
18
19 // MultiThreadedCertVerifier::VerifyProc implementation.
20 virtual int Verify(X509Certificate* cert,
21 const std::string& hostname,
22 int flags,
23 CRLSet* crl_set,
24 CertVerifyResult* verify_result) OVERRIDE;
25
26 protected:
27 virtual ~CertVerifyProcMac();
28 };
29
30 } // namespace net
31
32 #endif // NET_BASE_CERT_VERIFY_PROC_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698