Fixed shutdown of LoginUtilsTest.

The shutdown of ProfileIOData started triggering a DCHECK on chrome_http_user_agent_settings.cc. Fixed this and similar issues by having a fake IO loop always available during the test.

This is a reland of https://codereview.chromium.org/11358160/ after fixing the Thread crash at shutdown on debug builds.

BUG=158839


Review URL: https://chromiumcodereview.appspot.com/11280007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167915 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed