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

Unified Diff: net/base/default_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, 7 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 side-by-side diff with in-line comments
Download patch
Index: net/base/default_server_bound_cert_store.h
diff --git a/net/base/default_server_bound_cert_store.h b/net/base/default_server_bound_cert_store.h
index daec007bc2808fb4c21deb3b4daf6f4d57155e50..7783bf2a3b76a2c4b466e0e6a489f42a36eb79a1 100644
--- a/net/base/default_server_bound_cert_store.h
+++ b/net/base/default_server_bound_cert_store.h
@@ -76,6 +76,7 @@ class NET_EXPORT DefaultServerBoundCertStore : public ServerBoundCertStore {
virtual void GetAllServerBoundCerts(
ServerBoundCertList* server_bound_certs) OVERRIDE;
virtual int GetCertCount() OVERRIDE;
+ virtual void SetForceKeepSessionState() OVERRIDE;
private:
static const size_t kMaxCerts;
@@ -139,9 +140,9 @@ class NET_EXPORT DefaultServerBoundCertStore::PersistentStore
virtual void DeleteServerBoundCert(const ServerBoundCert& cert) = 0;
- // Sets the value of the user preference whether the persistent storage
- // must be deleted upon destruction.
- virtual void SetClearLocalStateOnExit(bool clear_local_state) = 0;
+ // When invoked, instructs the store to keep session related data on
+ // destruction.
+ virtual void SetForceKeepSessionState() = 0;
// Flush the store and post the given Task when complete.
virtual void Flush(const base::Closure& completion_task) = 0;

Powered by Google App Engine
This is Rietveld 408576698