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

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

Issue 11412067: [rlz,cros] RLZ glue for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another compile fix Created 8 years, 1 month 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 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.

Powered by Google App Engine
This is Rietveld 408576698