diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 20:08:15 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 20:08:15 +0000 |
commit | 8cf815be4062fbb05232bec82ec44395a5e8c9a1 (patch) | |
tree | c72c7f47378654fdb45827d0e927b1407b7bc541 /ash/multi_profile_uma.h | |
parent | ca66296a1952514eb42a8b4446fe4b5e7c819599 (diff) | |
download | chromium_src-8cf815be4062fbb05232bec82ec44395a5e8c9a1.zip chromium_src-8cf815be4062fbb05232bec82ec44395a5e8c9a1.tar.gz chromium_src-8cf815be4062fbb05232bec82ec44395a5e8c9a1.tar.bz2 |
Add UMA stats for discarded tabs on a per logged in user base
Each discarded tab will be "stored" in the bucket for the number of users logged in at the time of the occurrence.
To get to a useful number, the value needs to be normalized by dividing the absolute value per bucket by the corresponding UsersPerSession bucket (in percent).
BUG=321739
TEST=visual
Review URL: https://codereview.chromium.org/104713003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239023 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/multi_profile_uma.h')
-rw-r--r-- | ash/multi_profile_uma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/multi_profile_uma.h b/ash/multi_profile_uma.h index e0b411f..937b4d81 100644 --- a/ash/multi_profile_uma.h +++ b/ash/multi_profile_uma.h @@ -72,6 +72,9 @@ class ASH_EXPORT MultiProfileUMA { // Record number of users joined into a session. Called upon logout. static void RecordUserCount(int number_of_users); + // Record a discarded tab in the number of running users bucket. + static void RecordDiscardedTab(int number_of_users); + private: DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); }; |