Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: net/base/server_bound_cert_store.h

Issue 10447117: Unwire the clear on exit preference from the storage systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 SetForceKeepSessionState() = 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698