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

Unified Diff: content/public/browser/cookie_store_factory.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 | « content/browser/net/quota_policy_cookie_store.cc ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/cookie_store_factory.h
diff --git a/content/public/browser/cookie_store_factory.h b/content/public/browser/cookie_store_factory.h
index 53da902cf49816762989eeefc0fee5fa282538a0..40e7808dd4be0b446ec212bde773f32109228560 100644
--- a/content/public/browser/cookie_store_factory.h
+++ b/content/public/browser/cookie_store_factory.h
@@ -18,6 +18,7 @@ class SequencedTaskRunner;
}
namespace net {
+class ChannelIDService;
class CookieCryptoDelegate;
class CookieMonsterDelegate;
class CookieStore;
@@ -79,6 +80,11 @@ struct CONTENT_EXPORT CookieStoreConfig {
// config.
net::CookieCryptoDelegate* crypto_delegate;
+ // Provides the cookie store with a pointer to the corresponding
+ // ChannelIDService that should be used with that cookie store. The
+ // ChannelIDService must outlive any cookie store created with this config.
+ net::ChannelIDService* channel_id_service;
+
// Callbacks for data load events will be performed on |client_task_runner|.
// If nullptr, uses the task runner for BrowserThread::IO.
//
« no previous file with comments | « content/browser/net/quota_policy_cookie_store.cc ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698