[go: nahoru, domu]

Add ability to track all cookie changes by registration.

Currently, the ability to track all cookie changes is implemented by
a delegate to the CookieMonster.  This CL implements a registration
method on the CookieStore which may be used instead of the delegate.  
This makes the usage of the global tracker more general and more 
easily wrapped by Mojo.  It is not currently implemented on
non-CookieMonster CookieStores, but can be when needed on those
platforms.

Bug: 721395
Change-Id: I6b253b3a2caed7f6c58caf81c9de9f7bacc74b96
Reviewed-on: https://chromium-review.googlesource.com/602775
Commit-Queue: Randy Smith <rdsmith@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Alex Clarke <alexclarke@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498533}
16 files changed