Return raw email ids in crOS Account Manager notifications
Chrome OS Account Manager's observers need to map |AccountManager::AccountKey| to email ids. This mapping was being provided by |AccountMapperUtil|, but we want to eliminate that class and maintain the mapping directly in AccountManager. https://crrev.com/c/1452003 ensured that all new account additions in Chrome OS Account Manager have an email id associated with them. This patch makes the email id available for reading in observer notifications and |AccountManager::GetAccounts|. Bug: 925827 Test: chromeos_unittests --gtest_filter="*AccountManager*Test*" Test: unit_tests --gtest_filter="*CrOSOAuthDelegateTest*" Test: browser_tests --gtest_filter="*Arc*AuthService*Test*" Change-Id: I0e130ce968a02a37f2380460f6936b5cf169ae02 Reviewed-on: https://chromium-review.googlesource.com/c/1477691Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Kush Sinha <sinhak@chromium.org> Cr-Commit-Position: refs/heads/master@{#635908}
Showing
Please register or sign in to comment