DescriptionAccount reconcilor: Use cookie store cookie changed subscription.
This CL changes the account reconcilor to use the new cookie store
API that allows clients to adds callback for cookie changed events.
It adds logic to the chrome sign-in client to register for cookie
changed events on the IO thread and call the cookie changed callback
on the main thread.
Note that in order to access the cookie store, we need to use the
URL context which can only be used on the IO thread. Subscribing for
cookie change events requires thus a thread jump to the IO thread on
all platforms.
BUG=NONE
Committed: https://crrev.com/a9d6912af5c098c91e85cd6eda7a7d65d4c9c028
Cr-Commit-Position: refs/heads/master@{#302639}
Patch Set 1 #Patch Set 2 : Clean-up #Patch Set 3 : Nit #Patch Set 4 : iOS compile #Patch Set 5 : Nits #Patch Set 6 : Upstream the entire change #
Total comments: 17
Patch Set 7 : Nits #Patch Set 8 : Nit #Patch Set 9 : Avoid UI/IO thread ping-pong #
Total comments: 8
Patch Set 10 : Use thread runner #
Total comments: 9
Patch Set 11 : Nit #
Total comments: 6
Patch Set 12 : Nits #Messages
Total messages: 21 (4 generated)
|