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

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: Add browser tests, fix a bug in what was changed yesterday. 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 265252)
+++ 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) {

Powered by Google App Engine
This is Rietveld 408576698