[Password Manager] Fix crash in reporting sync stats.
It is possible for password_sync_metrics::IsPasswordSyncUsername() to be called during sync setup, which currently causes a stack overflow since GetPasswordSyncUsername() will try to re-initialize sync. Fixed by not checking to see if the user is syncing passwords, just if they have a saved username. This is slightly less specific, but determining if password sync is occuring during setup doesn't seem reasonable. R=isherman@chromium.org TBR=vabr@chromium.org BUG=393626, 386403 Review URL: https://codereview.chromium.org/383083009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283254 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment