Update ProfileInfoCache::GetNumberOfProfiles for ephemeral Guest
Ephemeral Guest profiles are registered in profile attributes storage because if Chrome crashes we need the registry to find and delete them. But they should not be counted as a regular profile, so they are removed from the count when the number of profiles is asked. This was previously done in ProfileManager, but now moved to ProfileInfoCache to avoid inconsistency when asked from different classes. Bug: 1161494, 1125474 Change-Id: I5fd9f9a262a940dd2e9358daa09f6e714d574669 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2606282Reviewed-by:David Roger <droger@chromium.org> Reviewed-by:
Monica Basta <msalama@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#841030}
Showing
Please register or sign in to comment