summaryrefslogtreecommitdiffstats
path: root/chrome_frame/metrics_service.h
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-20 18:17:04 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-20 18:17:04 +0000
commit13a8095fa208dfee3b33f362023ec910502acf2b (patch)
treeef8b3cf4ccf03f31629a1eee200a32fbb65f7891 /chrome_frame/metrics_service.h
parentfd14c67bd77b1ac8fc56dfa7b36f779d952a0ee6 (diff)
downloadchromium_src-13a8095fa208dfee3b33f362023ec910502acf2b.zip
chromium_src-13a8095fa208dfee3b33f362023ec910502acf2b.tar.gz
chromium_src-13a8095fa208dfee3b33f362023ec910502acf2b.tar.bz2
Switch back to using urlmon (from using Chrome's network stack) to upload metrics so as to shrink npchrome_frame.dll. This basically reverts r58538.
BUG=77445 TEST=uploading metrics should still work, although this is expected to reopen issue 54419. R=ananta@chromium.org Review URL: http://codereview.chromium.org/6881018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82339 0039d316-1c4b-4281-b951-d872f2087c98
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 905c862..7b5f84f 100644
--- a/chrome_frame/metrics_service.h
+++ b/chrome_frame/metrics_service.h
@@ -36,9 +36,6 @@ 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.
@@ -139,6 +136,9 @@ 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_;
+
base::PlatformThreadId thread_;
// Indicates if this is the first uma upload from this instance.