
Now that the migration of CoreAccountId from email to Gaia ID is finished on non-ChromeOS platforms, this CL removes the CoreAccountID::FromEmail() constructor on these platforms. As CoreAccountId objects still need to be created for robot accounts, this CL introduces a CoreAccountID::FromRobotEmail constructor that verified that the email passed corresponds to a robot account. Google internal only: Robot account email domain is defined at go/chrome-robot-account-definition Bug: 1326465 Change-Id: I8871146a734756279c37cf9ea3ed2731a7511511 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3660413 Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Reviewed-by: Mikel Astiz <mastiz@chromium.org> Reviewed-by: James Lee <ljjlee@google.com> Reviewed-by: Anthony Vallée-Dubois <anthonyvd@chromium.org> Reviewed-by: Roman Sorokin <rsorokin@chromium.org> Reviewed-by: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1009672}