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

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

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Sync'd to revision p349162. Created 5 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 | « mojo/services/network/network_context.cc ('k') | net/cert/cert_verifier.cc » ('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 #ifndef NET_CERT_CERT_VERIFIER_H_ 5 #ifndef NET_CERT_CERT_VERIFIER_H_
6 #define NET_CERT_CERT_VERIFIER_H_ 6 #define NET_CERT_CERT_VERIFIER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
11 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
12 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 class BoundNetLog; 17 class BoundNetLog;
17 class CertVerifyResult; 18 class CertVerifyResult;
18 class CRLSet; 19 class CRLSet;
19 class X509Certificate; 20 class X509Certificate;
20 21
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 CertVerifyResult* verify_result, 122 CertVerifyResult* verify_result,
122 const CompletionCallback& callback, 123 const CompletionCallback& callback,
123 scoped_ptr<Request>* out_req, 124 scoped_ptr<Request>* out_req,
124 const BoundNetLog& net_log) = 0; 125 const BoundNetLog& net_log) = 0;
125 126
126 // Returns true if this CertVerifier supports stapled OCSP responses. 127 // Returns true if this CertVerifier supports stapled OCSP responses.
127 virtual bool SupportsOCSPStapling(); 128 virtual bool SupportsOCSPStapling();
128 129
129 // Creates a CertVerifier implementation that verifies certificates using 130 // Creates a CertVerifier implementation that verifies certificates using
130 // the preferred underlying cryptographic libraries. 131 // the preferred underlying cryptographic libraries.
131 static CertVerifier* CreateDefault(); 132 static scoped_ptr<CertVerifier> CreateDefault();
132 }; 133 };
133 134
134 } // namespace net 135 } // namespace net
135 136
136 #endif // NET_CERT_CERT_VERIFIER_H_ 137 #endif // NET_CERT_CERT_VERIFIER_H_
OLDNEW
« no previous file with comments | « mojo/services/network/network_context.cc ('k') | net/cert/cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698