base: Fix parsing of synthetic delay configuration

Keep a local reference to the token string being parsed so that the
pointer returned by std::string::c_str() remains valid and we can properly
determine when strtod() fails.

BUG=307841

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250774 0039d316-1c4b-4281-b951-d872f2087c98
sync: Remove dead code related to ClearUserData

Removes some code left over from the ClearUserData feature.  These are
mostly functions named 'OnStopSyncingPermanently'.

Also renames ProfileSyncService::OnStopSyncingPermanently to
StopSyncingPermanently.  This makes it easier to distinguish from the
now deprecated SyncManagerObserver callback.  The new name is more
appropriate name since this function is not really a callback or event
handler anymore.

BUG=342932

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

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