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

Unified Diff: net/cookies/cookie_store.cc

Issue 1818603002: Keep track of ChannelIDService in CookieStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/DCHECK(false)/NOTREACHED()/ Created 4 years, 9 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/cookies/cookie_store.h ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_store.cc
diff --git a/net/cookies/cookie_store.cc b/net/cookies/cookie_store.cc
index 8a3af08f8b4abdefbfd2222475098085d069fa02..f1dff9ada436effcb849c6a63b3e87c8553db5d0 100644
--- a/net/cookies/cookie_store.cc
+++ b/net/cookies/cookie_store.cc
@@ -61,6 +61,15 @@ void CookieStore::GetAllCookiesForURLAsync(
GetCookieListWithOptionsAsync(url, options, callback);
}
-CookieStore::CookieStore() {}
+void CookieStore::SetChannelIDServiceID(int id) {
+ DCHECK_EQ(-1, channel_id_service_id_);
+ channel_id_service_id_ = id;
+}
+
+int CookieStore::GetChannelIDServiceID() {
+ return channel_id_service_id_;
+}
+
+CookieStore::CookieStore() : channel_id_service_id_(-1) {}
} // namespace net
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698