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> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
15 #include "net/url_request/url_request.h" | 17 #include "net/url_request/url_request.h" |
16 | 18 |
17 namespace base { | 19 namespace base { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 std::map<net::URLRequest*, FetchState*> inflight_requests_; | 115 std::map<net::URLRequest*, FetchState*> inflight_requests_; |
114 | 116 |
115 base::WeakPtrFactory<LogProofFetcher> weak_factory_; | 117 base::WeakPtrFactory<LogProofFetcher> weak_factory_; |
116 | 118 |
117 DISALLOW_COPY_AND_ASSIGN(LogProofFetcher); | 119 DISALLOW_COPY_AND_ASSIGN(LogProofFetcher); |
118 }; | 120 }; |
119 | 121 |
120 } // namespace certificate_transparency | 122 } // namespace certificate_transparency |
121 | 123 |
122 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ | 124 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_PROOF_FETCHER_H_ |
OLD | NEW |