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

Unified Diff: chrome/browser/net/sqlite_server_bound_cert_store.h

Issue 10407124: Don't force non-session only cookies to be session only cookies, instead delete on shutdown (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: chrome/browser/net/sqlite_server_bound_cert_store.h
diff --git a/chrome/browser/net/sqlite_server_bound_cert_store.h b/chrome/browser/net/sqlite_server_bound_cert_store.h
index 6647eeee3261637c4b412375cb1a4f3f424d50e7..b911c2fddcb036fd8f5173f39161fbc93c437bee 100644
--- a/chrome/browser/net/sqlite_server_bound_cert_store.h
+++ b/chrome/browser/net/sqlite_server_bound_cert_store.h
@@ -11,16 +11,22 @@
#include "base/memory/ref_counted.h"
#include "net/base/default_server_bound_cert_store.h"
+class ClearOnExitPolicy;
class FilePath;
// Implements the net::DefaultServerBoundCertStore::PersistentStore interface
// in terms of a SQLite database. For documentation about the actual member
// functions consult the documentation of the parent class
// |net::DefaultServerBoundCertStore::PersistentCertStore|.
+// If provided, a |ClearOnExitPolicy| is consulted when the SQLite database is
+// closed to decide which certificates to keep.
class SQLiteServerBoundCertStore
: public net::DefaultServerBoundCertStore::PersistentStore {
public:
- explicit SQLiteServerBoundCertStore(const FilePath& path);
+ // If non-NULL, SQLiteServerBoundCertStore will keep a scoped_refptr to the
+ // |clear_on_exit_policy| throughout its lifetime.
+ SQLiteServerBoundCertStore(const FilePath& path,
+ ClearOnExitPolicy* clear_on_exit_policy);
// net::DefaultServerBoundCertStore::PersistentStore:
virtual bool Load(
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc ('k') | chrome/browser/net/sqlite_server_bound_cert_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698