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

Unified Diff: chrome/browser/net/quota_policy_channel_id_store.cc

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 | « chrome/browser/net/quota_policy_channel_id_store.h ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/quota_policy_channel_id_store.cc
diff --git a/chrome/browser/net/quota_policy_channel_id_store.cc b/chrome/browser/net/quota_policy_channel_id_store.cc
index 22d587080aa33ae521e9dedb5401bcb8921d5ef2..a1d5b1c81c647853a3f37abc3a3dddb65e85a5e1 100644
--- a/chrome/browser/net/quota_policy_channel_id_store.cc
+++ b/chrome/browser/net/quota_policy_channel_id_store.cc
@@ -62,6 +62,10 @@ void QuotaPolicyChannelIDStore::DeleteChannelID(
persistent_store_->DeleteChannelID(channel_id);
}
+void QuotaPolicyChannelIDStore::Flush() {
+ persistent_store_->Flush();
+}
+
void QuotaPolicyChannelIDStore::SetForceKeepSessionState() {
special_storage_policy_ = NULL;
}
« no previous file with comments | « chrome/browser/net/quota_policy_channel_id_store.h ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698