diff options
author | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-29 19:51:11 +0000 |
---|---|---|
committer | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-29 19:51:11 +0000 |
commit | 82f9432c92bcf0bfa350b16429710e91cb67a273 (patch) | |
tree | 2c52feb31c81ff5e12ce992384a9b5b9ec5df516 /chrome/browser/net | |
parent | 7c2c8d7ae6fc75d1c9b3b575e8b76026bc018c44 (diff) | |
download | chromium_src-82f9432c92bcf0bfa350b16429710e91cb67a273.zip chromium_src-82f9432c92bcf0bfa350b16429710e91cb67a273.tar.gz chromium_src-82f9432c92bcf0bfa350b16429710e91cb67a273.tar.bz2 |
Making Evicted Domain Cookie Counter use UMA.
Previously HISTOGRAM_CUSTOM_TIMES was incorrectly used, which leads to no data uploaded! Changing to use UMA_HISTOGRAM_CUSTOM_TIMES instead.
BUG=225765
Review URL: https://codereview.chromium.org/14534005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r-- | chrome/browser/net/evicted_domain_cookie_counter.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/net/evicted_domain_cookie_counter.cc b/chrome/browser/net/evicted_domain_cookie_counter.cc index 6925c57..f0f1142 100644 --- a/chrome/browser/net/evicted_domain_cookie_counter.cc +++ b/chrome/browser/net/evicted_domain_cookie_counter.cc @@ -44,17 +44,17 @@ void DelegateImpl::Report( // Need to duplicate HISTOGRAM_CUSTOM_TIMES(), since it is a macro that // defines a static variable. if (evicted_cookie.is_google) { - HISTOGRAM_CUSTOM_TIMES("Cookie.ReinstatedCookiesGoogle", - reinstatement_delay, - TimeDelta::FromSeconds(1), - TimeDelta::FromDays(7), - 50); + UMA_HISTOGRAM_CUSTOM_TIMES("Cookie.ReinstatedCookiesGoogle", + reinstatement_delay, + TimeDelta::FromSeconds(1), + TimeDelta::FromDays(7), + 50); } else { - HISTOGRAM_CUSTOM_TIMES("Cookie.ReinstatedCookiesOther", - reinstatement_delay, - TimeDelta::FromSeconds(1), - TimeDelta::FromDays(7), - 50); + UMA_HISTOGRAM_CUSTOM_TIMES("Cookie.ReinstatedCookiesOther", + reinstatement_delay, + TimeDelta::FromSeconds(1), + TimeDelta::FromDays(7), + 50); } } |