From 7efc6d4d30ffeeb7b41c8f235c6bccb4c49f0233 Mon Sep 17 00:00:00 2001 From: "jrg@chromium.org" Date: Mon, 13 Apr 2009 22:53:56 +0000 Subject: 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 --- chrome/app/keystone_glue.m | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1