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/scoped_ptr.h" | |
18 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class Value; | 20 class Value; |
22 } // namespace base | 21 } // namespace base |
23 | 22 |
24 namespace net { | 23 namespace net { |
25 | 24 |
26 class URLRequestContext; | 25 class URLRequestContext; |
27 | 26 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 std::set<LogResponseHandler*> inflight_fetches_; | 123 std::set<LogResponseHandler*> inflight_fetches_; |
125 | 124 |
126 base::WeakPtrFactory<LogProofFetcher> weak_factory_; | 125 base::WeakPtrFactory<LogProofFetcher> weak_factory_; |
127 | 126 |
128 DISALLOW_COPY_AND_ASSIGN(LogProofFetcher); | 127 DISALLOW_COPY_AND_ASSIGN(LogProofFetcher); |
129 }; | 128 }; |
130 | 129 |
131 } // namespace certificate_transparency | 130 } // namespace certificate_transparency |
132 | 131 |
133 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ | 132 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ |
OLD | NEW |