| 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> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class TaskRunner; | 24 class TaskRunner; |
| 25 } // namespace base | 25 } // namespace base |
| 26 | 26 |
| 27 namespace crypto { | 27 namespace crypto { |
| 28 class ECPrivateKey; | 28 class ECPrivateKey; |
| 29 } // namespace crypto | 29 } // namespace crypto |
| 30 | 30 |
| 31 namespace net { | 31 namespace net { |
| 32 | 32 |
| 33 class ChannelIDServiceJob; | 33 class ChannelIDServiceJob; |
| 34 class ChannelIDServiceWorker; | |
| 35 | 34 |
| 36 // A class for creating and fetching Channel IDs. | 35 // A class for creating and fetching Channel IDs. |
| 37 | 36 |
| 38 // Inherits from NonThreadSafe in order to use the function | 37 // Inherits from NonThreadSafe in order to use the function |
| 39 // |CalledOnValidThread|. | 38 // |CalledOnValidThread|. |
| 40 class NET_EXPORT ChannelIDService | 39 class NET_EXPORT ChannelIDService |
| 41 : NON_EXPORTED_BASE(public base::NonThreadSafe) { | 40 : NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| 42 public: | 41 public: |
| 43 class NET_EXPORT Request { | 42 class NET_EXPORT Request { |
| 44 public: | 43 public: |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 uint64_t workers_created_; | 186 uint64_t workers_created_; |
| 188 | 187 |
| 189 base::WeakPtrFactory<ChannelIDService> weak_ptr_factory_; | 188 base::WeakPtrFactory<ChannelIDService> weak_ptr_factory_; |
| 190 | 189 |
| 191 DISALLOW_COPY_AND_ASSIGN(ChannelIDService); | 190 DISALLOW_COPY_AND_ASSIGN(ChannelIDService); |
| 192 }; | 191 }; |
| 193 | 192 |
| 194 } // namespace net | 193 } // namespace net |
| 195 | 194 |
| 196 #endif // NET_SSL_CHANNEL_ID_SERVICE_H_ | 195 #endif // NET_SSL_CHANNEL_ID_SERVICE_H_ |
| OLD | NEW |