Update IdentityManager::SetAccountsInCookie() to take a callback invoked on completion

This CL changes GaiaCookieManagerServer::SetAccountsInCookie() to take a
base::OnceCallback that gets associated to a GaiaCookieRequest instance
and invoked upon request handing completion.
It allows the removal of OnSetAccountsInCookieCompleted() method from both
IdentityManager and GCMS Observer classes, which helps with cleaning this API surface.

This is a follow up of [1].

[1] https://crrev.com/c/1446473/4/services/identity/public/cpp/identity_manager.h#141

PS: More observer callbacks can follow a similar pattern, eg  OnAddAccountToCookie
and LogOut procedures.

BUG=927749

Change-Id: Icfc18a2b69fd381f9e431a57a4947a5e1b965d22
Reviewed-on: https://chromium-review.googlesource.com/c/1456518
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: David Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630822}
9 files changed