Used scoped_ptr

There was this TODO(sky): convert this and InitMessagePumpForUIFactory() to return a
scoped_ptr.

This patch is for doing the same.

R=darin@chromium.org, sky@chromium.org

Review URL: https://codereview.chromium.org/185413019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255643 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255643
Fix use-after-free in account reconcilor.

BUG=348006

Review URL: https://codereview.chromium.org/189203003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255644 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255644