diff options
author | cpu <cpu@chromium.org> | 2015-02-11 16:46:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-12 00:47:05 +0000 |
commit | 50bc7eadc783059e840b9f08588d755db3f6289a (patch) | |
tree | 01374efec1933e6d5e0253b655341f2c64ac676c /net/disk_cache | |
parent | 6875d4e0e4db94ab8ca1151adf316325d93c4dc5 (diff) | |
download | chromium_src-50bc7eadc783059e840b9f08588d755db3f6289a.zip chromium_src-50bc7eadc783059e840b9f08588d755db3f6289a.tar.gz chromium_src-50bc7eadc783059e840b9f08588d755db3f6289a.tar.bz2 |
removing all the code related to chrome://stats
this is all broken and has been for a while. Since then, 2012 to 2013
other, sytem-specific systems have been used.
Note that there is a v8 test that is using the stats table. Hoping to sort this now.
BUG=149742
Review URL: https://codereview.chromium.org/899753002
Cr-Commit-Position: refs/heads/master@{#315890}
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/blockfile/backend_impl.cc | 3 | ||||
-rw-r--r-- | net/disk_cache/blockfile/backend_impl_v3.cc | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/net/disk_cache/blockfile/backend_impl.cc b/net/disk_cache/blockfile/backend_impl.cc index 980249b..b9077f1 100644 --- a/net/disk_cache/blockfile/backend_impl.cc +++ b/net/disk_cache/blockfile/backend_impl.cc @@ -13,7 +13,6 @@ #include "base/message_loop/message_loop.h" #include "base/metrics/field_trial.h" #include "base/metrics/histogram.h" -#include "base/metrics/stats_counters.h" #include "base/rand_util.h" #include "base/single_thread_task_runner.h" #include "base/strings/string_util.h" @@ -505,7 +504,6 @@ EntryImpl* BackendImpl::OpenEntryImpl(const std::string& key) { static_cast<base::HistogramBase::Sample>(use_hours)); stats_.OnEvent(Stats::OPEN_HIT); web_fonts_histogram::RecordCacheHit(cache_entry); - SIMPLE_STATS_COUNTER("disk_cache.hit"); return cache_entry; } @@ -601,7 +599,6 @@ EntryImpl* BackendImpl::CreateEntryImpl(const std::string& key) { CACHE_UMA(AGE_MS, "CreateTime", 0, start); stats_.OnEvent(Stats::CREATE_HIT); - SIMPLE_STATS_COUNTER("disk_cache.miss"); Trace("create entry hit "); FlushIndex(); cache_entry->AddRef(); diff --git a/net/disk_cache/blockfile/backend_impl_v3.cc b/net/disk_cache/blockfile/backend_impl_v3.cc index 6d73d07..9615755 100644 --- a/net/disk_cache/blockfile/backend_impl_v3.cc +++ b/net/disk_cache/blockfile/backend_impl_v3.cc @@ -12,7 +12,6 @@ #include "base/message_loop/message_loop.h" #include "base/metrics/field_trial.h" #include "base/metrics/histogram.h" -#include "base/metrics/stats_counters.h" #include "base/rand_util.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" |