Description[Sync] UMA: log only datatypes explicitly listed on the sync prefs page
The sync UMA logging logic that is in place first checks to see if the sync config has changed before logging a user's choices. This logic was broken by the implicitly enabled preferences that are currently behind a flag, resulting in more logging than necessary.
This patch changes the UMA logging logic to include only the datatypes that are explicitly listed on the preferences page. It also does the actual logging prior to applying the config via OnUserConfigured(), and adds extra checks that will remind anyone who adds a new datatype to also add UMA logging for the datatype.
BUG=96507
TEST=Change your sync config in a bunch of ways and look at about:histograms
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110028
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 5 (0 generated)
|