| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_HTTP_DISK_BASED_CERT_CACHE_H | 5 #ifndef NET_HTTP_DISK_BASED_CERT_CACHE_H |
| 6 #define NET_HTTP_DISK_BASED_CERT_CACHE_H | 6 #define NET_HTTP_DISK_BASED_CERT_CACHE_H |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 11 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 12 #include "base/containers/mru_cache.h" | 14 #include "base/containers/mru_cache.h" |
| 15 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 14 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
| 15 #include "net/cert/x509_certificate.h" | 18 #include "net/cert/x509_certificate.h" |
| 16 | 19 |
| 17 namespace disk_cache { | 20 namespace disk_cache { |
| 18 class Backend; | 21 class Backend; |
| 19 } // namespace disk_cache | 22 } // namespace disk_cache |
| 20 | 23 |
| 21 namespace net { | 24 namespace net { |
| 22 | 25 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 int mem_cache_hits_; | 97 int mem_cache_hits_; |
| 95 int mem_cache_misses_; | 98 int mem_cache_misses_; |
| 96 | 99 |
| 97 base::WeakPtrFactory<DiskBasedCertCache> weak_factory_; | 100 base::WeakPtrFactory<DiskBasedCertCache> weak_factory_; |
| 98 DISALLOW_COPY_AND_ASSIGN(DiskBasedCertCache); | 101 DISALLOW_COPY_AND_ASSIGN(DiskBasedCertCache); |
| 99 }; | 102 }; |
| 100 | 103 |
| 101 } // namespace net | 104 } // namespace net |
| 102 | 105 |
| 103 #endif // NET_HTTP_DISK_BASED_CERT_CACHE_H | 106 #endif // NET_HTTP_DISK_BASED_CERT_CACHE_H |
| OLD | NEW |