summaryrefslogtreecommitdiffstats
path: root/chrome_frame/metrics_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/metrics_service.h')
-rw-r--r--chrome_frame/metrics_service.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/metrics_service.h b/chrome_frame/metrics_service.h
index dd71483..252f716 100644
--- a/chrome_frame/metrics_service.h
+++ b/chrome_frame/metrics_service.h
@@ -35,6 +35,9 @@ class MetricsService : public MetricsServiceBase {
void InitializeMetricsState();
private:
+ // To enable the default traits object to create an instance of this class.
+ friend struct base::DefaultLazyInstanceTraits<MetricsService>;
+
MetricsService();
virtual ~MetricsService();
// The MetricsService has a lifecycle that is stored as a state.
@@ -135,9 +138,6 @@ class MetricsService : public MetricsServiceBase {
// A number that identifies the how many times the app has been launched.
int session_id_;
- static base::LazyInstance<base::ThreadLocalPointer<MetricsService> >
- g_metrics_instance_;
-
PlatformThreadId thread_;
// Indicates if this is the first uma upload from this instance.