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

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: fix check 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
Index: net/cookies/cookie_store.cc
diff --git a/net/cookies/cookie_store.cc b/net/cookies/cookie_store.cc
index 85f01929270960ad581f3dc58bfa23665abb884c..cd684abcbcb9d28ba9e64728b23164fc7d22558d 100644
--- a/net/cookies/cookie_store.cc
+++ b/net/cookies/cookie_store.cc
@@ -60,6 +60,14 @@ void CookieStore::GetAllCookiesForURLAsync(
GetCookieListWithOptionsAsync(url, options, callback);
}
-CookieStore::CookieStore() {}
+void CookieStore::SetChannelIDServiceID(int id) {
mmenke 2016/03/18 22:12:56 DCHECK_EQ(-1, channel_id_service_id_); ?
nharper 2016/03/18 22:31:09 Done.
+ channel_id_service_id_ = id;
+}
+
+int CookieStore::GetChannelIDServiceID() {
+ return channel_id_service_id_;
+}
+
+CookieStore::CookieStore() : channel_id_service_id_(-1) {}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698