summaryrefslogtreecommitdiffstats
path: root/base/stats_table.h
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 12:45:55 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 12:45:55 +0000
commit59d9535e13048aacde05e4c50f1c97d5d3ecfcdf (patch)
tree945fc651618bb3387f270d9780615143217fdcb2 /base/stats_table.h
parentdabda822f5e5823074c450dda756b12f5b7f1a2e (diff)
downloadchromium_src-59d9535e13048aacde05e4c50f1c97d5d3ecfcdf.zip
chromium_src-59d9535e13048aacde05e4c50f1c97d5d3ecfcdf.tar.gz
chromium_src-59d9535e13048aacde05e4c50f1c97d5d3ecfcdf.tar.bz2
Remove an unused bool member variable "opened_" from StatsTable.
Review URL: http://codereview.chromium.org/48129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/stats_table.h')
-rw-r--r--base/stats_table.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/stats_table.h b/base/stats_table.h
index 18fb3dba..958d259 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);
};