Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: base/stats_counters.h

Issue 57078: Remove deprecated methods from StatsCounter. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/stats_table_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/stats_counters.h
===================================================================
--- base/stats_counters.h (revision 12911)
+++ base/stats_counters.h (working copy)
@@ -94,11 +94,6 @@
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 @@
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 @@
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() {
« no previous file with comments | « no previous file | base/stats_table_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698