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

Unified Diff: net/ssl/default_channel_id_store.h

Issue 2874973002: Flush Channel IDs when Cookies get saved to a persistent backend (Closed)
Patch Set: Initialize channel_id_service to nullptr Created 3 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
« no previous file with comments | « net/ssl/channel_id_store.h ('k') | net/ssl/default_channel_id_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/default_channel_id_store.h
diff --git a/net/ssl/default_channel_id_store.h b/net/ssl/default_channel_id_store.h
index 7dd5dcd4c02f362fbcd54c8e1f95c9c7ee12f52c..b07495c6e8076b252bbb3aec3be01ad275b692ed 100644
--- a/net/ssl/default_channel_id_store.h
+++ b/net/ssl/default_channel_id_store.h
@@ -61,6 +61,7 @@ class NET_EXPORT DefaultChannelIDStore : public ChannelIDStore {
const base::Closure& callback) override;
void DeleteAll(const base::Closure& callback) override;
void GetAllChannelIDs(const GetChannelIDListCallback& callback) override;
+ void Flush() override;
int GetChannelIDCount() override;
void SetForceKeepSessionState() override;
bool IsEphemeral() override;
@@ -164,6 +165,8 @@ class NET_EXPORT DefaultChannelIDStore::PersistentStore
virtual void DeleteChannelID(const ChannelID& channel_id) = 0;
+ virtual void Flush() = 0;
+
// When invoked, instructs the store to keep session related data on
// destruction.
virtual void SetForceKeepSessionState() = 0;
« no previous file with comments | « net/ssl/channel_id_store.h ('k') | net/ssl/default_channel_id_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698