| 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 NET_SSL_THREADED_SSL_PRIVATE_KEY_H_ | 5 #ifndef NET_SSL_THREADED_SSL_PRIVATE_KEY_H_ |
| 6 #define NET_SSL_THREADED_SSL_PRIVATE_KEY_H_ | 6 #define NET_SSL_THREADED_SSL_PRIVATE_KEY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 16 #include "base/strings/string_piece.h" | 17 #include "base/strings/string_piece.h" |
| 17 #include "net/ssl/ssl_private_key.h" | 18 #include "net/ssl/ssl_private_key.h" |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 class TaskRunner; | 21 class TaskRunner; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace net { | 24 namespace net { |
| 24 | 25 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 scoped_refptr<Core> core_; | 70 scoped_refptr<Core> core_; |
| 70 scoped_refptr<base::TaskRunner> task_runner_; | 71 scoped_refptr<base::TaskRunner> task_runner_; |
| 71 base::WeakPtrFactory<ThreadedSSLPrivateKey> weak_factory_; | 72 base::WeakPtrFactory<ThreadedSSLPrivateKey> weak_factory_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(ThreadedSSLPrivateKey); | 74 DISALLOW_COPY_AND_ASSIGN(ThreadedSSLPrivateKey); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace net | 77 } // namespace net |
| 77 | 78 |
| 78 #endif // NET_SSL_THREADED_SSL_PRIVATE_KEY_H_ | 79 #endif // NET_SSL_THREADED_SSL_PRIVATE_KEY_H_ |
| OLD | NEW |