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

Unified Diff: base/stats_table.h

Issue 48129: Remove an unused bool member variable "opened_" from StatsTable. (Closed)
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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/stats_table.h
diff --git a/base/stats_table.h b/base/stats_table.h
index 18fb3dbab46e9e2e4d37eeed1e9891de0ecaf5ca..958d2592711266cf0da1fc9a59039cafc32ec4ad 100644
--- a/base/stats_table.h
+++ b/base/stats_table.h
@@ -172,19 +172,19 @@ class StatsTable {
typedef base::hash_map<std::string, int> CountersMap;
- bool opened_;
- StatsTablePrivate* impl_;
+ StatsTablePrivate* impl_;
// The counters_lock_ protects the counters_ hash table.
- Lock counters_lock_;
+ Lock counters_lock_;
// The counters_ hash map is an in-memory hash of the counters.
// It is used for quick lookup of counters, but is cannot be used
// as a substitute for what is in the shared memory. Even though
// we don't have a counter in our hash table, another process may
// have created it.
- CountersMap counters_;
- TLSSlot tls_index_;
+ CountersMap counters_;
+ TLSSlot tls_index_;
+
+ static StatsTable* global_table_;
- static StatsTable* global_table_;
DISALLOW_EVIL_CONSTRUCTORS(StatsTable);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698