Remove profile info cache entry on user removal on Chrome OS.

Chrome OS removes users when profiles are not loaded, and Chrome does not know
the exact profile path until it is mounted. So we need to be able to remove
entries from ProfileInfoCache based solely on AccountId.

This Cl implements removal of cache entries given the AccountId and engages it
on Chrome OS.

(cherry picked from commit 4084f503be1913290db968dc81f6ceb9fe796fbc)

Bug: 808125
Change-Id: I9f8e3a5f1004d119425b92a4bdc3d8011a526dd5
Reviewed-by: anthonyvd <>
Reviewed-by: Bernhard Bauer <>
Commit-Queue: Alexander Alekseev <>
Cr-Original-Commit-Position: refs/heads/master@{#537905}
Reviewed-by: Alexander Alekseev <>
Cr-Commit-Position: refs/branch-heads/3325@{#603}
Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
5 files changed