| Index: chrome/browser/chromeos/login/user_manager_impl.cc
|
| diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
|
| index e6ad13d55ff28030d8ebbef3063bc11057fb4bdf..863fdc7f22b8857814e06e9cc16988ac9fbeb95f 100644
|
| --- a/chrome/browser/chromeos/login/user_manager_impl.cc
|
| +++ b/chrome/browser/chromeos/login/user_manager_impl.cc
|
| @@ -24,10 +24,12 @@
|
| #include "chrome/browser/chromeos/login/user_image_manager_impl.h"
|
| #include "chrome/browser/chromeos/login/wizard_controller.h"
|
| #include "chrome/browser/chromeos/settings/cros_settings.h"
|
| +#include "chrome/browser/first_run/first_run.h"
|
| #include "chrome/browser/policy/browser_policy_connector.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/prefs/scoped_user_pref_update.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| +#include "chrome/browser/rlz/rlz.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| @@ -211,6 +213,15 @@ void UserManagerImpl::UserLoggedIn(const std::string& email,
|
| // Make sure we persist new user data to Local State.
|
| prefs->CommitPendingWrite();
|
|
|
| +#if defined(ENABLE_RLZ)
|
| + // Init the RLZ library.
|
| + Profile* profile = ProfileManager::GetDefaultProfile();
|
| + int ping_delay = profile->GetPrefs()->GetInteger(
|
| + first_run::GetPingDelayPrefName().c_str());
|
| + RLZTracker::InitRlzFromProfileDelayed(
|
| + profile, is_current_user_new_, ping_delay);
|
| +#endif
|
| +
|
| NotifyOnLogin();
|
| }
|
|
|
|
|