| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NET_FETCHER_H_ | 5 #ifndef NET_CERT_CERT_NET_FETCHER_H_ |
| 6 #define NET_CERT_CERT_NET_FETCHER_H_ | 6 #define NET_CERT_CERT_NET_FETCHER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
| 11 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 12 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 13 | 16 |
| 14 class GURL; | 17 class GURL; |
| 15 | 18 |
| 16 namespace net { | 19 namespace net { |
| 17 | 20 |
| 18 class URLRequestContext; | 21 class URLRequestContext; |
| 19 | 22 |
| 20 // CertNetFetcher is an asynchronous interface for fetching AIA URLs and CRL | 23 // CertNetFetcher is an asynchronous interface for fetching AIA URLs and CRL |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 int max_response_bytes, | 100 int max_response_bytes, |
| 98 const FetchCallback& callback) = 0; | 101 const FetchCallback& callback) = 0; |
| 99 | 102 |
| 100 private: | 103 private: |
| 101 DISALLOW_COPY_AND_ASSIGN(CertNetFetcher); | 104 DISALLOW_COPY_AND_ASSIGN(CertNetFetcher); |
| 102 }; | 105 }; |
| 103 | 106 |
| 104 } // namespace net | 107 } // namespace net |
| 105 | 108 |
| 106 #endif // NET_CERT_NET_CERT_NET_FETCHER_H_ | 109 #endif // NET_CERT_NET_CERT_NET_FETCHER_H_ |
| OLD | NEW |