| Index: chrome/browser/profiles/gaia_info_update_service.cc
|
| diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc
|
| index 2677a5fa8285c05c7848fa22492fa7c9640740a8..f75fc93de4c045d741d31bbacc401cbbf67c9efa 100644
|
| --- a/chrome/browser/profiles/gaia_info_update_service.cc
|
| +++ b/chrome/browser/profiles/gaia_info_update_service.cc
|
| @@ -52,6 +52,9 @@
|
| }
|
|
|
| void GAIAInfoUpdateService::Update() {
|
| + // UMA Profile Metrics should be logged regularly.
|
| + ProfileMetrics::LogNumberOfProfiles(g_browser_process->profile_manager());
|
| +
|
| // The user must be logged in.
|
| SigninManagerBase* signin_manager =
|
| SigninManagerFactory::GetForProfile(profile_);
|
| @@ -211,14 +214,6 @@
|
| else
|
| delta = desired_delta - update_delta;
|
|
|
| - // UMA Profile Metrics should be logged regularly. Logging is not performed
|
| - // in Update() because it is a public method and may be called at any time.
|
| - // These metrics should logged only on this schedule.
|
| - //
|
| - // In mac perf tests, the browser process pointer may be null.
|
| - if (g_browser_process)
|
| - ProfileMetrics::LogNumberOfProfiles(g_browser_process->profile_manager());
|
| -
|
| timer_.Start(FROM_HERE, delta, this, &GAIAInfoUpdateService::Update);
|
| }
|
|
|
|
|