summaryrefslogtreecommitdiffstats
path: root/chrome/browser/rlz/rlz.h
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 20:19:29 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 20:19:29 +0000
commitcd1c78349190f4084424fe9790f2548b0d52167a (patch)
treed2786ce9f424ddf04ebca6be6d3183bb3463c875 /chrome/browser/rlz/rlz.h
parent0ef42ff9d9de850a881cfa66f96d4217695a2186 (diff)
downloadchromium_src-cd1c78349190f4084424fe9790f2548b0d52167a.zip
chromium_src-cd1c78349190f4084424fe9790f2548b0d52167a.tar.gz
chromium_src-cd1c78349190f4084424fe9790f2548b0d52167a.tar.bz2
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
Diffstat (limited to 'chrome/browser/rlz/rlz.h')
-rw-r--r--chrome/browser/rlz/rlz.h17
1 files changed, 9 insertions, 8 deletions
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 <string>
@@ -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_