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

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

Issue 1081913003: Route OCSP stapling through CertVerifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@boringnss
Patch Set: yet another CrOS-only Verify call Created 5 years, 8 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/cert_verifier.h ('k') | net/cert/cert_verify_proc.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/cert/cert_verifier.h" 5 #include "net/cert/cert_verifier.h"
6 6
7 #include "build/build_config.h"
7 #include "net/cert/cert_verify_proc.h" 8 #include "net/cert/cert_verify_proc.h"
9
10 #if defined(OS_NACL)
11 #include "base/logging.h"
12 #else
8 #include "net/cert/multi_threaded_cert_verifier.h" 13 #include "net/cert/multi_threaded_cert_verifier.h"
14 #endif
9 15
10 namespace net { 16 namespace net {
11 17
18 bool CertVerifier::SupportsOCSPStapling() {
19 return false;
20 }
21
12 CertVerifier* CertVerifier::CreateDefault() { 22 CertVerifier* CertVerifier::CreateDefault() {
23 #if defined(OS_NACL)
24 NOTIMPLEMENTED();
25 return nullptr;
26 #else
13 return new MultiThreadedCertVerifier(CertVerifyProc::CreateDefault()); 27 return new MultiThreadedCertVerifier(CertVerifyProc::CreateDefault());
28 #endif
14 } 29 }
15 30
16 } // namespace net 31 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/cert_verifier.h ('k') | net/cert/cert_verify_proc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698