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

Unified Diff: chrome_frame/metrics_service.h

Issue 6881018: Switch back to using urlmon (from using Chrome's network stack) to upload metrics. This basicall... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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 | chrome_frame/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/metrics_service.h
===================================================================
--- chrome_frame/metrics_service.h (revision 81938)
+++ chrome_frame/metrics_service.h (working copy)
@@ -36,9 +36,6 @@
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.
@@ -139,6 +136,9 @@
// 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_;
+
base::PlatformThreadId thread_;
// Indicates if this is the first uma upload from this instance.
« no previous file with comments | « no previous file | chrome_frame/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698