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

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

Issue 11506006: [cros] RLZ tracking can be turned off via a flag file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-apply ps#16, it got lost Created 8 years 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
Index: chrome/browser/rlz/rlz.h
diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h
index aa02d497246749953ba1a885f0450534bf19f833..3c1733e6d82feaa3cae48aea373a8efa5d752d9c 100644
--- a/chrome/browser/rlz/rlz.h
+++ b/chrome/browser/rlz/rlz.h
@@ -75,6 +75,9 @@ class RLZTracker : public content::NotificationObserver {
// This method is public for use by the Singleton class.
static RLZTracker* GetInstance();
+ // Enables zero delay for InitRlzFromProfileDelayed. For testing only.
+ static void EnableZeroDelayForTesting();
+
// The following methods are made protected so that they can be used for
// testing purposes. Production code should never need to call these.
protected:
@@ -198,6 +201,9 @@ class RLZTracker : public content::NotificationObserver {
content::NotificationRegistrar registrar_;
+ // Minimum delay before sending financial ping after initialization.
Peter Kasting 2012/12/17 20:14:03 Nit: Another instance of "financial ping"
Ivan Korotkov 2012/12/20 09:20:42 Well, here it's OK since these are RLZTracker guts
+ int min_delay_;
+
DISALLOW_COPY_AND_ASSIGN(RLZTracker);
};

Powered by Google App Engine
This is Rietveld 408576698