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 COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ | 5 #ifndef COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ |
6 #define COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ | 6 #define COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 | 18 |
19 namespace base { | |
20 class Value; | |
21 } // namespace base | |
22 | |
23 namespace net { | 19 namespace net { |
24 | 20 |
25 class URLRequestContext; | 21 class URLRequestContext; |
26 | 22 |
27 namespace ct { | 23 namespace ct { |
28 struct SignedTreeHead; | 24 struct SignedTreeHead; |
29 } // namespace ct | 25 } // namespace ct |
30 | 26 |
31 } // namespace net | 27 } // namespace net |
32 | 28 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 std::set<std::unique_ptr<LogResponseHandler>> inflight_fetches_; | 120 std::set<std::unique_ptr<LogResponseHandler>> inflight_fetches_; |
125 | 121 |
126 base::WeakPtrFactory<LogProofFetcher> weak_factory_; | 122 base::WeakPtrFactory<LogProofFetcher> weak_factory_; |
127 | 123 |
128 DISALLOW_COPY_AND_ASSIGN(LogProofFetcher); | 124 DISALLOW_COPY_AND_ASSIGN(LogProofFetcher); |
129 }; | 125 }; |
130 | 126 |
131 } // namespace certificate_transparency | 127 } // namespace certificate_transparency |
132 | 128 |
133 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ | 129 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ |
OLD | NEW |