| Index: chrome/browser/chromeos/login/login_utils.cc
|
| diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc
|
| index ebf77aa47311b1abc3697fae19e54f239ca9cfb5..436ef3ea5c62d2885f187d1fc442af3c370e778a 100644
|
| --- a/chrome/browser/chromeos/login/login_utils.cc
|
| +++ b/chrome/browser/chromeos/login/login_utils.cc
|
| @@ -57,6 +57,7 @@
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| +#include "chrome/browser/rlz/rlz.h"
|
| #include "chrome/browser/signin/signin_manager.h"
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| #include "chrome/browser/signin/token_service.h"
|
| @@ -646,6 +647,14 @@ void LoginUtilsImpl::OnProfileCreated(
|
| content::NotificationService::AllSources(),
|
| content::Details<Profile>(user_profile));
|
|
|
| +#if defined(ENABLE_RLZ)
|
| + // Init the RLZ library.
|
| + int ping_delay = user_profile->GetPrefs()->GetInteger(
|
| + first_run::GetPingDelayPrefName().c_str());
|
| + RLZTracker::InitRlzFromProfileDelayed(
|
| + user_profile, UserManager::Get()->IsCurrentUserNew(), ping_delay);
|
| +#endif
|
| +
|
| // TODO(altimofeev): This pointer should probably never be NULL, but it looks
|
| // like LoginUtilsImpl::OnProfileCreated() may be getting called before
|
| // LoginUtilsImpl::PrepareProfile() has set |delegate_| when Chrome is killed
|
|
|