Let JsonDoubleQuote accept StringPiece
So that the functions can escape 'const char*' or 'const char16*' without creating a std::string or string16 object for the parameter. BUG=none TEST=StringEscapeTest.JsonDoubleQuoteNarrow Review URL: https://chromiumcodereview.appspot.com/18648003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221625 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment