| 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_SSL_CLIENT_SESSION_CACHE_OPENSSL_H | 5 #ifndef NET_SSL_SSL_CLIENT_SESSION_CACHE_OPENSSL_H |
| 6 #define NET_SSL_SSL_CLIENT_SESSION_CACHE_OPENSSL_H | 6 #define NET_SSL_SSL_CLIENT_SESSION_CACHE_OPENSSL_H |
| 7 | 7 |
| 8 #include <openssl/ssl.h> | 8 #include <openssl/ssl.h> |
| 9 #include <stddef.h> |
| 9 | 10 |
| 10 #include <string> | 11 #include <string> |
| 11 | 12 |
| 12 #include "base/containers/mru_cache.h" | 13 #include "base/containers/mru_cache.h" |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 16 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
| 17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 18 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // a ThreadChecker. The session cache should be single-threaded like other | 86 // a ThreadChecker. The session cache should be single-threaded like other |
| 86 // classes in net. | 87 // classes in net. |
| 87 base::Lock lock_; | 88 base::Lock lock_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(SSLClientSessionCacheOpenSSL); | 90 DISALLOW_COPY_AND_ASSIGN(SSLClientSessionCacheOpenSSL); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace net | 93 } // namespace net |
| 93 | 94 |
| 94 #endif // NET_SSL_SSL_CLIENT_SESSION_CACHE_OPENSSL_H | 95 #endif // NET_SSL_SSL_CLIENT_SESSION_CACHE_OPENSSL_H |
| OLD | NEW |