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

Unified Diff: net/base/default_server_bound_cert_store.cc

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.cc
diff --git a/net/base/default_server_bound_cert_store.cc b/net/base/default_server_bound_cert_store.cc
index 2f891ca49b7238e18fa9f14b99ffd93a2c64c2d0..0eaf87df0c1442f919ca17b2b192d3f8a9e29e8e 100644
--- a/net/base/default_server_bound_cert_store.cc
+++ b/net/base/default_server_bound_cert_store.cc
@@ -118,6 +118,13 @@ int DefaultServerBoundCertStore::GetCertCount() {
return server_bound_certs_.size();
}
+void DefaultServerBoundCertStore::SetForceKeepSessionState() {
+ base::AutoLock autolock(lock_);
+ InitIfNecessary();
+
+ store_->SetForceKeepSessionState();
+}
+
DefaultServerBoundCertStore::~DefaultServerBoundCertStore() {
DeleteAllInMemory();
}

Powered by Google App Engine
This is Rietveld 408576698