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

Unified Diff: chrome_frame/metrics_service.h

Issue 3518007: Merge 59594 - Fixes for a couple of ChromeFrame crashes seen in the latest de... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/517/src/
Patch Set: Created 10 years, 3 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 61087)
+++ chrome_frame/metrics_service.h (working copy)
@@ -35,6 +35,9 @@
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 @@
// 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.
« 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