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

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

Issue 233353003: Only commit cookie changes in prerenders after a prerender is shown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync @269781 + 'autlock'->'autolock' from erik's comment that was not included before Created 6 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
Index: chrome/browser/net/evicted_domain_cookie_counter.cc
===================================================================
--- chrome/browser/net/evicted_domain_cookie_counter.cc (revision 269781)
+++ chrome/browser/net/evicted_domain_cookie_counter.cc (working copy)
@@ -111,6 +111,11 @@
next_cookie_monster_delegate_->OnCookieChanged(cookie, removed, cause);
}
+void EvictedDomainCookieCounter::OnLoaded() {
+ if (next_cookie_monster_delegate_.get())
+ next_cookie_monster_delegate_->OnLoaded();
+}
+
// static
EvictedDomainCookieCounter::EvictedCookieKey
EvictedDomainCookieCounter::GetKey(const net::CanonicalCookie& cookie) {
« no previous file with comments | « chrome/browser/net/evicted_domain_cookie_counter.h ('k') | chrome/browser/net/evicted_domain_cookie_counter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698