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); |
}; |