Index: chrome/browser/rlz/rlz.h |
diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h |
index 6a1d3c2310ff9dd3a32aaafb31c0753796ca7be8..d259ff955809a765eefed5dd16b8bc4349268c1d 100644 |
--- a/chrome/browser/rlz/rlz.h |
+++ b/chrome/browser/rlz/rlz.h |
@@ -20,6 +20,7 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "rlz/lib/rlz_lib.h" |
+class Profile; |
namespace net { |
class URLRequestContextGetter; |
} |
@@ -47,6 +48,11 @@ class RLZTracker : public content::NotificationObserver { |
bool is_google_homepage, |
bool is_google_in_startpages); |
+ // Shortcut for InitRlzDelayed which retrieves parameters from |profile|. |
+ static bool InitRlzFromProfileDelayed(Profile* profile, |
+ 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 |
// to the HKCU registry hive on windows. |