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

Side by Side Diff: net/cert/internal/trust_store.cc

Issue 2266333002: Allow TrustStore queries to be asynchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 3 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/internal/trust_store.h ('k') | net/cert/internal/trust_store_in_memory.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 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
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
OLDNEW
« no previous file with comments | « net/cert/internal/trust_store.h ('k') | net/cert/internal/trust_store_in_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698