forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Record metrics about migrations in AccountTrackerService
AccountTrackerService does two migration when loading data: - removal of deprecated list keyed by "service_flags", moving the only value still used to "is_child_account" key - migration of the account_id from normalized email to gaia id. No metrics were recorded for those migration, so it is not possible to check whether they are complete or not in the wild. Add metrics to fix this deficiency. Also ensure that the migration state is set to MIGRATION_DONE if once the migration has been completed (previously it only happened if the AccountTrackerService became empty). Bug: none Change-Id: I329ddb9b4c7c150eee5cfb9d2fd80df60214f79b Reviewed-on: https://chromium-review.googlesource.com/1162165 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: David Roger <droger@chromium.org> Reviewed-by: Mark Pearson <mpearson@chromium.org> Cr-Commit-Position: refs/heads/master@{#588061}
- Loading branch information
Showing
4 changed files
with
213 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.