diff options
author | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-10 18:06:57 +0000 |
---|---|---|
committer | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-10 18:06:57 +0000 |
commit | 73c3e2c27e6c5e00493ee9727a94a7ac1bbfc7d6 (patch) | |
tree | 96cbff5c69d53f11dee78e52f8d7477e41d41f27 /net | |
parent | 5259ead872da61f51c2e528755c140b5661553cb (diff) | |
download | chromium_src-73c3e2c27e6c5e00493ee9727a94a7ac1bbfc7d6.zip chromium_src-73c3e2c27e6c5e00493ee9727a94a7ac1bbfc7d6.tar.gz chromium_src-73c3e2c27e6c5e00493ee9727a94a7ac1bbfc7d6.tar.bz2 |
Fixed typo where I was using "net." prefix rather than "Net." prefix. Also changed prefix on all newly added
histograms over to "Cookie."; there are enough such (and
Net. is already big enough) that a new group seemed warranted.
BUG=None
TEST=Trybots only.
Review URL: http://codereview.chromium.org/3319019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59117 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/cookie_monster.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc index 100e1f8..28d1e55 100644 --- a/net/base/cookie_monster.cc +++ b/net/base/cookie_monster.cc @@ -146,28 +146,28 @@ CookieMonster::~CookieMonster() { void CookieMonster::InitializeHistograms() { // From UMA_HISTOGRAM_CUSTOM_COUNTS histogram_expiration_duration_minutes_ = Histogram::FactoryGet( - "net.CookieExpirationDurationMinutes", + "Cookie.ExpirationDurationMinutes", 1, kMinutesInTenYears, 50, Histogram::kUmaTargetedHistogramFlag); histogram_between_access_interval_minutes_ = Histogram::FactoryGet( - "net.CookieBetweenAccessIntervalMinutes", + "Cookie.BetweenAccessIntervalMinutes", 1, kMinutesInTenYears, 50, Histogram::kUmaTargetedHistogramFlag); histogram_evicted_last_access_minutes_ = Histogram::FactoryGet( - "net.CookieEvictedLastAccessMinutes", + "Cookie.EvictedLastAccessMinutes", 1, kMinutesInTenYears, 50, Histogram::kUmaTargetedHistogramFlag); histogram_count_ = Histogram::FactoryGet( - "net.CookieCount", 1, 4000, 50, + "Cookie.Count", 1, 4000, 50, Histogram::kUmaTargetedHistogramFlag); histogram_domain_count_ = Histogram::FactoryGet( - "net.CookieDomainCount", 1, 4000, 50, + "Cookie.DomainCount", 1, 4000, 50, Histogram::kUmaTargetedHistogramFlag); histogram_etldp1_count_ = Histogram::FactoryGet( - "net.CookieEtldp1Count", 1, 4000, 50, + "Cookie.Etldp1Count", 1, 4000, 50, Histogram::kUmaTargetedHistogramFlag); histogram_domain_per_etldp1_count_ = Histogram::FactoryGet( - "net.CookieDomainPerEtldp1Count", 1, 4000, 50, + "Cookie.DomainPerEtldp1Count", 1, 4000, 50, Histogram::kUmaTargetedHistogramFlag); // From UMA_HISTOGRAM_COUNTS_10000 & UMA_HISTOGRAM_CUSTOM_COUNTS @@ -177,15 +177,15 @@ void CookieMonster::InitializeHistograms() { // From UMA_HISTOGRAM_ENUMERATION histogram_cookie_deletion_cause_ = LinearHistogram::FactoryGet( - "net.CookieDeletionCause", 1, + "Cookie.DeletionCause", 1, DELETE_COOKIE_LAST_ENTRY, DELETE_COOKIE_LAST_ENTRY + 1, Histogram::kUmaTargetedHistogramFlag); // From UMA_HISTOGRAM_{CUSTOM_,}TIMES - histogram_time_get_ = Histogram::FactoryTimeGet("net.CookieTimeGet", + histogram_time_get_ = Histogram::FactoryTimeGet("Cookie.TimeGet", base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), 50, Histogram::kUmaTargetedHistogramFlag); - histogram_time_load_ = Histogram::FactoryTimeGet("net.CookieTimeLoad", + histogram_time_load_ = Histogram::FactoryTimeGet("Cookie.TimeLoad", base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), 50, Histogram::kUmaTargetedHistogramFlag); } |