| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/internal/trust_store.h" | 5 #include "net/cert/internal/trust_store.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 scoped_refptr<TrustAnchor> TrustAnchor::CreateFromCertificateNoConstraints( | 9 scoped_refptr<TrustAnchor> TrustAnchor::CreateFromCertificateNoConstraints( |
| 10 scoped_refptr<ParsedCertificate> cert) { | 10 scoped_refptr<ParsedCertificate> cert) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 TrustAnchor::TrustAnchor(scoped_refptr<ParsedCertificate> cert, | 31 TrustAnchor::TrustAnchor(scoped_refptr<ParsedCertificate> cert, |
| 32 bool enforces_constraints) | 32 bool enforces_constraints) |
| 33 : cert_(std::move(cert)), enforces_constraints_(enforces_constraints) { | 33 : cert_(std::move(cert)), enforces_constraints_(enforces_constraints) { |
| 34 DCHECK(cert_); | 34 DCHECK(cert_); |
| 35 } | 35 } |
| 36 | 36 |
| 37 TrustAnchor::~TrustAnchor() = default; | 37 TrustAnchor::~TrustAnchor() = default; |
| 38 | 38 |
| 39 TrustStore::Request::Request() = default; |
| 40 TrustStore::Request::~Request() = default; |
| 41 |
| 39 TrustStore::TrustStore() = default; | 42 TrustStore::TrustStore() = default; |
| 40 TrustStore::~TrustStore() = default; | 43 TrustStore::~TrustStore() = default; |
| 41 | 44 |
| 42 } // namespace net | 45 } // namespace net |
| OLD | NEW |