| 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 7d73b734caeae28ddf4541b27f171a60d721c1a7..a7e1fab448734d7efecf6ce731f95e83976392de 100644
|
| --- a/chrome/browser/chromeos/login/login_utils.cc
|
| +++ b/chrome/browser/chromeos/login/login_utils.cc
|
| @@ -56,6 +56,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"
|
| @@ -640,6 +641,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
|
|
|