| 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_SERVER_BOUND_CERT_STORE_H_ | 5 #ifndef NET_BASE_SERVER_BOUND_CERT_STORE_H_ |
| 6 #define NET_BASE_SERVER_BOUND_CERT_STORE_H_ | 6 #define NET_BASE_SERVER_BOUND_CERT_STORE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <list> | 9 #include <list> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // the store. | 105 // the store. |
| 106 virtual void DeleteAll() = 0; | 106 virtual void DeleteAll() = 0; |
| 107 | 107 |
| 108 // Returns all server bound certs and the corresponding private keys. | 108 // Returns all server bound certs and the corresponding private keys. |
| 109 virtual void GetAllServerBoundCerts( | 109 virtual void GetAllServerBoundCerts( |
| 110 ServerBoundCertList* server_bound_certs) = 0; | 110 ServerBoundCertList* server_bound_certs) = 0; |
| 111 | 111 |
| 112 // Returns the number of certs in the store. | 112 // Returns the number of certs in the store. |
| 113 // Public only for unit testing. | 113 // Public only for unit testing. |
| 114 virtual int GetCertCount() = 0; | 114 virtual int GetCertCount() = 0; |
| 115 |
| 116 // When invoked, instructs the store to keep session related data on |
| 117 // destruction. |
| 118 virtual void SaveSessionState() = 0; |
| 115 }; | 119 }; |
| 116 | 120 |
| 117 } // namespace net | 121 } // namespace net |
| 118 | 122 |
| 119 #endif // NET_BASE_SERVER_BOUND_CERT_STORE_H_ | 123 #endif // NET_BASE_SERVER_BOUND_CERT_STORE_H_ |
| OLD | NEW |