Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: chrome/browser/rlz/rlz.h

Issue 149135: Add a ping delay time master preference. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/rlz/rlz.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/rlz/rlz.h
diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h
index f9936ba8238c6802540a777767c801d85c59e820..b4f1b9c43f43fff00f4b557fdf57f7a932ee9de2 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_
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/rlz/rlz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698