Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 8566023: [Sync] UMA: log only datatypes explicitly listed on the sync prefs page (Closed)

Created:
9 years, 1 month ago by Raghu Simha
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -46 lines) Patch
M chrome/browser/ui/webui/sync_setup_handler.cc View 5 chunks +46 lines, -46 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Raghu Simha
Tim, please review. Thanks.
9 years, 1 month ago (2011-11-15 00:28:43 UTC) #1
Raghu Simha
+zea, who has reviewed previous UMA changes.
9 years, 1 month ago (2011-11-15 01:39:47 UTC) #2
Nicolas Zea
lgtm
9 years, 1 month ago (2011-11-15 01:46:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsimha@chromium.org/8566023/2002
9 years, 1 month ago (2011-11-15 02:16:22 UTC) #4
commit-bot: I haz the power
9 years, 1 month ago (2011-11-15 03:30:22 UTC) #5
Change committed as 110028

Powered by Google App Engine
This is Rietveld 408576698