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" |
19 #include "base/threading/non_thread_safe.h" | 20 #include "base/threading/non_thread_safe.h" |
20 #include "base/time/time.h" | 21 #include "base/time/time.h" |
21 #include "net/base/completion_callback.h" | 22 #include "net/base/completion_callback.h" |
22 #include "net/base/net_export.h" | 23 #include "net/base/net_export.h" |
23 #include "net/ssl/channel_id_store.h" | 24 #include "net/ssl/channel_id_store.h" |
24 | 25 |
25 namespace base { | |
26 class TaskRunner; | |
27 } // namespace base | |
28 | |
29 namespace crypto { | 26 namespace crypto { |
30 class ECPrivateKey; | 27 class ECPrivateKey; |
31 } // namespace crypto | 28 } // namespace crypto |
32 | 29 |
33 namespace net { | 30 namespace net { |
34 | 31 |
35 class ChannelIDServiceJob; | 32 class ChannelIDServiceJob; |
36 | 33 |
37 // A class for creating and fetching Channel IDs. | 34 // A class for creating and fetching Channel IDs. |
38 | 35 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 uint64_t workers_created_; | 182 uint64_t workers_created_; |
186 | 183 |
187 base::WeakPtrFactory<ChannelIDService> weak_ptr_factory_; | 184 base::WeakPtrFactory<ChannelIDService> weak_ptr_factory_; |
188 | 185 |
189 DISALLOW_COPY_AND_ASSIGN(ChannelIDService); | 186 DISALLOW_COPY_AND_ASSIGN(ChannelIDService); |
190 }; | 187 }; |
191 | 188 |
192 } // namespace net | 189 } // namespace net |
193 | 190 |
194 #endif // NET_SSL_CHANNEL_ID_SERVICE_H_ | 191 #endif // NET_SSL_CHANNEL_ID_SERVICE_H_ |
OLD | NEW |