Remove linux_chromium_gn_dbg from the chromium CQ.
[chromium-blink-merge.git] / net / cert / cert_verifier.cc
blob3cd4a78a34186b910638d0e33bad78eb2ca47e5a
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.
5 #include "net/cert/cert_verifier.h"
7 #include "build/build_config.h"
8 #include "net/cert/cert_verify_proc.h"
10 #if defined(OS_NACL)
11 #include "base/logging.h"
12 #else
13 #include "net/cert/multi_threaded_cert_verifier.h"
14 #endif
16 namespace net {
18 bool CertVerifier::SupportsOCSPStapling() {
19 return false;
22 scoped_ptr<CertVerifier> CertVerifier::CreateDefault() {
23 #if defined(OS_NACL)
24 NOTIMPLEMENTED();
25 return scoped_ptr<CertVerifier>();
26 #else
27 return make_scoped_ptr(
28 new MultiThreadedCertVerifier(CertVerifyProc::CreateDefault()))
29 .Pass();
30 #endif
33 } // namespace net