Cookie tests: use the new MakeCallback helpers

Hopefully makes it a bit easier to read since there is no need to parse the
big complicated bind expression every time.

Change-Id: I71ffaf0635cdd0206ba4931e4cf1196640d6e310
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1529363
Reviewed-by: Eric Orth <ericorth@chromium.org>
Commit-Queue: Maks Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643154}
2 files changed