Descriptioncomponents/signin: convert GaiaCookieManagerService to use CanonicalCookie's Create() method.
This patch converts the usage of CanonicalCookie's constructor in
GaiaCookieManagerService::ForceOnCookieChangedProcessing() to use
CanonicalCookie::Create() method.
We are doing this because the Create() method validates the parameters
and we thus we can test the return value to see if it has passed or not.
Whereas we can not do this when using the constructor.
BUG=57061
TEST=components_unittests
R=mmenke@chromium.org,rogerta@chromium.org
Committed: https://crrev.com/94486086f25fbf5a1441ac32eb972fc9686801ac
Cr-Commit-Position: refs/heads/master@{#406097}
Patch Set 1 #Patch Set 2 : leading dot #
Total comments: 4
Patch Set 3 : Matt's suggestion #Patch Set 4 : fix ListAccountsAfterOnCookieChanged? #Messages
Total messages: 20 (10 generated)
|