summaryrefslogtreecommitdiffstats
path: root/chrome/app/keystone_glue.m
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-13 22:53:56 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-13 22:53:56 +0000
commit7efc6d4d30ffeeb7b41c8f235c6bccb4c49f0233 (patch)
tree7c1b9ead8f9251414ba22547a142d8cee805a6ab /chrome/app/keystone_glue.m
parent6c1b1231e9dd2a61745baedde2f28299e7004b2c (diff)
downloadchromium_src-7efc6d4d30ffeeb7b41c8f235c6bccb4c49f0233.zip
chromium_src-7efc6d4d30ffeeb7b41c8f235c6bccb4c49f0233.tar.gz
chromium_src-7efc6d4d30ffeeb7b41c8f235c6bccb4c49f0233.tar.bz2
Mark "active" on launch; don't want an hour.
Review URL: http://codereview.chromium.org/73014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/keystone_glue.m')
-rw-r--r--chrome/app/keystone_glue.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/app/keystone_glue.m b/chrome/app/keystone_glue.m
index ca73f24..0a01374 100644
--- a/chrome/app/keystone_glue.m
+++ b/chrome/app/keystone_glue.m
@@ -60,6 +60,9 @@ typedef enum { kKSPathExistenceChecker } KSExistenceCheckerType;
existenceCheckerString:[mainBundle bundlePath]
serverURLString:url];
+ // Mark an active RIGHT NOW; don't wait an hour for the first one.
+ [ksr setActive];
+
// Set up hourly activity pings.
[NSTimer scheduledTimerWithTimeInterval:60 * 60 // One hour
target:self