Remove FromWStringHack().

BUG=24672,76112
TEST=compiles

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226792 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226792
sync: Fix bug in early sync shutdown

In r224014, we tried to fix many issues with early shutdown.  That CL
contained a fairly serious bug that would cause shutdown requests that
arrive very early to trigger a crash.

This patch fixes that bug and adds a test to help prevent regressions.

BUG=236451,303177

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

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