OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEFAULT_SERVER_BOUND_CERT_STORE_H_ | 5 #ifndef NET_SSL_DEFAULT_SERVER_BOUND_CERT_STORE_H_ |
6 #define NET_BASE_DEFAULT_SERVER_BOUND_CERT_STORE_H_ | 6 #define NET_SSL_DEFAULT_SERVER_BOUND_CERT_STORE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.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/scoped_ptr.h" |
16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
19 #include "net/base/server_bound_cert_store.h" | 19 #include "net/ssl/server_bound_cert_store.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 // This class is the system for storing and retrieving server bound certs. | 23 // This class is the system for storing and retrieving server bound certs. |
24 // Modeled after the CookieMonster class, it has an in-memory cert store, | 24 // Modeled after the CookieMonster class, it has an in-memory cert store, |
25 // and synchronizes server bound certs to an optional permanent storage that | 25 // and synchronizes server bound certs to an optional permanent storage that |
26 // implements the PersistentStore interface. The use case is described in | 26 // implements the PersistentStore interface. The use case is described in |
27 // http://balfanz.github.com/tls-obc-spec/draft-balfanz-tls-obc-00.html | 27 // http://balfanz.github.com/tls-obc-spec/draft-balfanz-tls-obc-00.html |
28 class NET_EXPORT DefaultServerBoundCertStore : public ServerBoundCertStore { | 28 class NET_EXPORT DefaultServerBoundCertStore : public ServerBoundCertStore { |
29 public: | 29 public: |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
195 | 195 |
196 PersistentStore(); | 196 PersistentStore(); |
197 virtual ~PersistentStore(); | 197 virtual ~PersistentStore(); |
198 | 198 |
199 private: | 199 private: |
200 DISALLOW_COPY_AND_ASSIGN(PersistentStore); | 200 DISALLOW_COPY_AND_ASSIGN(PersistentStore); |
201 }; | 201 }; |
202 | 202 |
203 } // namespace net | 203 } // namespace net |
204 | 204 |
205 #endif // NET_DEFAULT_ORIGIN_BOUND_CERT_STORE_H_ | 205 #endif // NET_DEFAULT_ORIGIN_BOUND_CERT_STORE_H_ |
wtc
2013/03/12 23:14:37
Please fix the NET_DEFAULT_ORIGIN_BOUND_CERT_STORE
Paweł Hajdan Jr.
2013/03/13 22:59:52
Done.
| |
OLD | NEW |