Adds AccountsInCookieJarInfo::GetAllAccounts method that exposes all
accounts in cookies in the same order as returned by ListAccounts. To
do this, this CL also changes how AccountsInCookieJarInfo constructor
gets the list of accounts - it now does all the filtering for various
getters inside the constructor.
Bug: 324462717
Change-Id: I7e222b7c0b6e01d82ee9fd76933bc6d39d9d9196
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5905072
Commit-Queue: Rushan Suleymanov <rushans@google.com>
Reviewed-by: Rushan Suleymanov <rushans@google.com>
Auto-Submit: Boris Sazonov <bsazonov@chromium.org>
Reviewed-by: David Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1365441}