OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SSL_CHANNEL_ID_SERVICE_H_ | 5 #ifndef NET_SSL_CHANNEL_ID_SERVICE_H_ |
6 #define NET_SSL_CHANNEL_ID_SERVICE_H_ | 6 #define NET_SSL_CHANNEL_ID_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/task_runner.h" | |
20 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
21 #include "base/time/time.h" | 20 #include "base/time/time.h" |
22 #include "net/base/completion_callback.h" | 21 #include "net/base/completion_callback.h" |
23 #include "net/base/net_export.h" | 22 #include "net/base/net_export.h" |
24 #include "net/ssl/channel_id_store.h" | 23 #include "net/ssl/channel_id_store.h" |
25 | 24 |
| 25 namespace base { |
| 26 class TaskRunner; |
| 27 } // namespace base |
| 28 |
26 namespace crypto { | 29 namespace crypto { |
27 class ECPrivateKey; | 30 class ECPrivateKey; |
28 } // namespace crypto | 31 } // namespace crypto |
29 | 32 |
30 namespace net { | 33 namespace net { |
31 | 34 |
32 class ChannelIDServiceJob; | 35 class ChannelIDServiceJob; |
33 | 36 |
34 // A class for creating and fetching Channel IDs. | 37 // A class for creating and fetching Channel IDs. |
35 | 38 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 uint64_t workers_created_; | 185 uint64_t workers_created_; |
183 | 186 |
184 base::WeakPtrFactory<ChannelIDService> weak_ptr_factory_; | 187 base::WeakPtrFactory<ChannelIDService> weak_ptr_factory_; |
185 | 188 |
186 DISALLOW_COPY_AND_ASSIGN(ChannelIDService); | 189 DISALLOW_COPY_AND_ASSIGN(ChannelIDService); |
187 }; | 190 }; |
188 | 191 |
189 } // namespace net | 192 } // namespace net |
190 | 193 |
191 #endif // NET_SSL_CHANNEL_ID_SERVICE_H_ | 194 #endif // NET_SSL_CHANNEL_ID_SERVICE_H_ |
OLD | NEW |