diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-01 01:20:51 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-01 01:20:51 +0000 |
commit | 03a9f69a4c78bc5c957762ba7c7ac89a6d5f36ec (patch) | |
tree | 6ef7f2354ee788c85339b9062736efac8b7d726c /base/stats_counters.h | |
parent | f3af59e1ea6b110fb245e632312cab48ddfad48c (diff) | |
download | chromium_src-03a9f69a4c78bc5c957762ba7c7ac89a6d5f36ec.zip chromium_src-03a9f69a4c78bc5c957762ba7c7ac89a6d5f36ec.tar.gz chromium_src-03a9f69a4c78bc5c957762ba7c7ac89a6d5f36ec.tar.bz2 |
Remove deprecated methods from StatsCounter.
Review URL: http://codereview.chromium.org/57078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12924 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/stats_counters.h')
-rw-r--r-- | base/stats_counters.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/base/stats_counters.h b/base/stats_counters.h index cd7fa9d..bb87e61 100644 --- a/base/stats_counters.h +++ b/base/stats_counters.h @@ -94,11 +94,6 @@ class StatsCounter { Add(1); } - // TODO(jar) temporary hack include method till base and chrome use new name. - void Increment(int value) { - Add(value); - } - virtual void Add(int value) { int* loc = GetPtr(); if (loc) @@ -114,11 +109,6 @@ class StatsCounter { Add(-value); } - // TODO(jar) temporary hack includes method till base and chrome use new name. - void Decrement(int value) { - Add(-value); - } - // Is this counter enabled? // Returns false if table is full. bool Enabled() { @@ -209,11 +199,6 @@ class StatsCounterTimer : protected StatsCounter { Add(static_cast<int>(time.InMilliseconds())); } - // TODO(jar) temporary hack include method till base and chrome use new name. - void IncrementTimer(base::TimeDelta time) { - AddTime(time); - } - protected: // Compute the delta between start and stop, in milliseconds. void Record() { |