Add overall histogram for triggering in-product help.
Up until now, each in-product help feature has recorded their own histogram for how often they are triggered. However, this makes it hard to inspect the overall data for how often in-product help is triggered in general. This CL therefore adds a new histogram that is triggered regardless of which feature invoked it: InProductHelp.ShouldTriggerHelpUI. That name is also the base name for the suffix-based feature specific histograms. In addition, tests are added to ensure these histograms behave as expected. BUG=733799 Change-Id: I9c99494dc64f9c20fc2e811d7596ff0d7a7f72c2 Reviewed-on: https://chromium-review.googlesource.com/569259 Commit-Queue: Tommy Nyquist <nyquist@chromium.org> Reviewed-by:Alexei Svitkine (slow) <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#486942}
Showing
Please register or sign in to comment