components/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 Review-Url: https://codereview.chromium.org/2113863002 Cr-Commit-Position: refs/heads/master@{#406097}
Showing
Please register or sign in to comment