Chromium Code Reviews| Index: chrome/browser/rlz/rlz.h |
| diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h |
| index e41b5a3ec019c3ab369081301d2a9b5500c9aa78..56f4757babc8f451745d64d72edce80ec4d74345 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); |
|
Roger Tawa OOO till Jul 10th
2012/11/28 15:23:18
This function is no longer called externally excep
Ivan Korotkov
2012/11/29 17:42:28
Done.
|
| + // 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. |
| @@ -186,6 +192,10 @@ class RLZTracker : public content::NotificationObserver { |
| bool omnibox_used_; |
| bool homepage_used_; |
| + // Main and (optionally) reactivation brand codes, assigned on UI thread. |
| + std::string brand_; |
| + std::string reactivation_brand_; |
| + |
| content::NotificationRegistrar registrar_; |
| DISALLOW_COPY_AND_ASSIGN(RLZTracker); |