Move UTF16ToASCII, remove WideToASCII.

This removes WideToASCII and changes all callers to use UTF16ToASCII instead.

Moves UTF16ToASCII from base/strings/string_util.h to base/strings/utf_string_conversions.h and into the base namespace.

Convert a few related string_util functions to take a StringPiece16 instead of a string16. Remove IsStringASCII(std::wstring) which was unused.

Updates callers' includes and namespace usage accordingly.

TBR=sky

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@257200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
1 file changed