OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BASE_SSL_CLIENT_AUTH_CACHE_H_ | 5 #ifndef NET_SSL_SSL_CLIENT_AUTH_CACHE_H_ |
6 #define NET_BASE_SSL_CLIENT_AUTH_CACHE_H_ | 6 #define NET_SSL_SSL_CLIENT_AUTH_CACHE_H_ |
7 | 7 |
| 8 #include <map> |
8 #include <string> | 9 #include <string> |
9 #include <map> | |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "net/base/cert_database.h" | 13 #include "net/base/cert_database.h" |
14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 class X509Certificate; | 18 class X509Certificate; |
19 | 19 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 typedef std::string AuthCacheKey; | 53 typedef std::string AuthCacheKey; |
54 typedef scoped_refptr<X509Certificate> AuthCacheValue; | 54 typedef scoped_refptr<X509Certificate> AuthCacheValue; |
55 typedef std::map<AuthCacheKey, AuthCacheValue> AuthCacheMap; | 55 typedef std::map<AuthCacheKey, AuthCacheValue> AuthCacheMap; |
56 | 56 |
57 // internal representation of cache, an STL map. | 57 // internal representation of cache, an STL map. |
58 AuthCacheMap cache_; | 58 AuthCacheMap cache_; |
59 }; | 59 }; |
60 | 60 |
61 } // namespace net | 61 } // namespace net |
62 | 62 |
63 #endif // NET_BASE_SSL_CLIENT_AUTH_CACHE_H_ | 63 #endif // NET_SSL_SSL_CLIENT_AUTH_CACHE_H_ |
OLD | NEW |