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

Unified Diff: net/cookies/cookie_monster.h

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/cert/x509_certificate_win.cc ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_monster.h
diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h
index a41c3910b4a43a0204ba2374a1069371a8c1ea7e..18d1b8a0bb5689f492fbccdc0d55536f2d4a1451 100644
--- a/net/cookies/cookie_monster.h
+++ b/net/cookies/cookie_monster.h
@@ -620,6 +620,10 @@ class NET_EXPORT CookieMonster : public CookieStore {
void DoCookieTaskForURL(const scoped_refptr<CookieMonsterTask>& task_item,
const GURL& url);
+ // Run all cookie changed callbacks that are monitoring |cookie|.
+ // |removed| is true if the cookie was deleted.
+ void RunCallbacks(const CanonicalCookie& cookie, bool removed);
+
// Histogram variables; see CookieMonster::InitializeHistograms() in
// cookie_monster.cc for details.
base::HistogramBase* histogram_expiration_duration_minutes_;
@@ -704,8 +708,6 @@ class NET_EXPORT CookieMonster : public CookieStore {
linked_ptr<CookieChangedCallbackList>> CookieChangedHookMap;
CookieChangedHookMap hook_map_;
- void RunCallbacks(const CanonicalCookie& cookie);
-
DISALLOW_COPY_AND_ASSIGN(CookieMonster);
};
« no previous file with comments | « net/cert/x509_certificate_win.cc ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698