Add a metric to count the checked data types during password deletion.
commit8a70bec26ebcc8c2a6ff4a73e9bfca71337f4ee5
authormsramek <msramek@chromium.org>
Mon, 14 Sep 2015 13:14:56 +0000 (14 06:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 13:15:48 +0000 (14 13:15 +0000)
treeb10cf41fcf4c27b80c9bdf2d97c122c10776b04b
parentd4ac94937db989b40acd8f6fa51465d6174f608f
Add a metric to count the checked data types during password deletion.

The deletion of passwords is a very destructive operation; we presume that this only happens if the user wipes all their browsing data, i.e. all checkboxes in the ClearBrowsingData dialog are checked. Other usecases, such as deleting only the passwords, should be less common. Various subsets of selected data types should be even less common.

The newly added metric tests this assumption by counting how many data types are checked when the passwords are checked in the Clear Browsing Data dialog.

BUG=529054

Review URL: https://codereview.chromium.org/1313513010

Cr-Commit-Position: refs/heads/master@{#348606}
chrome/browser/ui/webui/options/clear_browser_data_handler.cc
tools/metrics/histograms/histograms.xml