OLD | NEW |
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_BASE_CERT_VERIFIER_H_ | 5 #ifndef NET_CERT_CERT_VERIFIER_H_ |
6 #define NET_BASE_CERT_VERIFIER_H_ | 6 #define NET_CERT_CERT_VERIFIER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 class BoundNetLog; | 16 class BoundNetLog; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // After a request is canceled, its completion callback will not be called. | 103 // After a request is canceled, its completion callback will not be called. |
104 virtual void CancelRequest(RequestHandle req) = 0; | 104 virtual void CancelRequest(RequestHandle req) = 0; |
105 | 105 |
106 // Creates a CertVerifier implementation that verifies certificates using | 106 // Creates a CertVerifier implementation that verifies certificates using |
107 // the preferred underlying cryptographic libraries. | 107 // the preferred underlying cryptographic libraries. |
108 static CertVerifier* CreateDefault(); | 108 static CertVerifier* CreateDefault(); |
109 }; | 109 }; |
110 | 110 |
111 } // namespace net | 111 } // namespace net |
112 | 112 |
113 #endif // NET_BASE_CERT_VERIFIER_H_ | 113 #endif // NET_CERT_CERT_VERIFIER_H_ |
OLD | NEW |