summaryrefslogtreecommitdiffstats
path: root/chrome_frame/metrics_service.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-18 17:05:10 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-18 17:05:10 +0000
commitf985b9c9f8a3bd0aa21b9717cd7533e8a9335caf (patch)
tree41b06d71c1a85b00f81967bb5e630b7a088b12fe /chrome_frame/metrics_service.h
parente1296faf59c3d59b9556d626cb02a8ca45e6cd31 (diff)
downloadchromium_src-f985b9c9f8a3bd0aa21b9717cd7533e8a9335caf.zip
chromium_src-f985b9c9f8a3bd0aa21b9717cd7533e8a9335caf.tar.gz
chromium_src-f985b9c9f8a3bd0aa21b9717cd7533e8a9335caf.tar.bz2
The ChromeFrame UMA upload currently occurs every 30 seconds which is incorrect. We should emulate Chrome's upload model
where there is an initial UMA upload followed by subsequent uploads every 30 minutes. The initial chrome frame UMA upload now occurs after 30 seconds followed by one every 10 minutes. Bug=46057 Review URL: http://codereview.chromium.org/2840010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/metrics_service.h')
-rw-r--r--chrome_frame/metrics_service.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/metrics_service.h b/chrome_frame/metrics_service.h
index 766a423..af97b1c 100644
--- a/chrome_frame/metrics_service.h
+++ b/chrome_frame/metrics_service.h
@@ -139,6 +139,12 @@ class MetricsService : public MetricsServiceBase {
PlatformThreadId thread_;
+ // Indicates if this is the first uma upload from this instance.
+ bool initial_uma_upload_;
+
+ // The transmission timer id returned by SetTimer
+ int transmission_timer_id_;
+
DISALLOW_COPY_AND_ASSIGN(MetricsService);
};