From cd1c78349190f4084424fe9790f2548b0d52167a Mon Sep 17 00:00:00 2001 From: "kuchhal@chromium.org" Date: Mon, 6 Jul 2009 20:19:29 +0000 Subject: Add a ping delay time master preference. BUG=1953127 Review URL: http://codereview.chromium.org/149135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19978 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/rlz/rlz.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'chrome/browser/rlz/rlz.h') diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h index f9936ba..b4f1b9c4 100644 --- a/chrome/browser/rlz/rlz.h +++ b/chrome/browser/rlz/rlz.h @@ -1,9 +1,9 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_BROWSER_RLZ_RLZ_H__ -#define CHROME_BROWSER_RLZ_RLZ_H__ +#ifndef CHROME_BROWSER_RLZ_RLZ_H_ +#define CHROME_BROWSER_RLZ_RLZ_H_ #include @@ -69,10 +69,11 @@ class RLZTracker { // This function is intended primarily for testing. static bool InitRlz(int directory_key); - // Like InitRlz() this function the RLZ library services for use in chrome. - // Besides binding the dll, it schedules a delayed task that performs the - // daily ping and registers the some events when 'first-run' is true. - static bool InitRlzDelayed(int directory_key, bool first_run); + // Like InitRlz() this function initializes the RLZ library services for use + // in chrome. Besides binding the dll, it schedules a delayed task (delayed + // by |delay| seconds) that performs the daily ping and registers some events + // when 'first-run' is true. + static bool InitRlzDelayed(int directory_key, bool first_run, int delay); // Records an RLZ event. Some events can be access point independent. // Returns false it the event could not be recorded. Requires write access @@ -96,4 +97,4 @@ class RLZTracker { DISALLOW_IMPLICIT_CONSTRUCTORS(RLZTracker); }; -#endif // CHROME_BROWSER_RLZ_RLZ_H__ +#endif // CHROME_BROWSER_RLZ_RLZ_H_ -- cgit v1.1