Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Issue 18648003: Let JsonDoubleQuote accept StringPiece (Closed)

Created:
7 years, 5 months ago by Xianzhu
Modified:
7 years, 3 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, nduca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221625

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -11 lines) Patch
M base/json/string_escape.h View 2 chunks +5 lines, -5 lines 0 comments Download
M base/json/string_escape.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M base/json/string_escape_unittest.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Xianzhu
Made this CL because I need the functions in https://codereview.chromium.org/18083015/, but don't want the extra ...
7 years, 5 months ago (2013-07-03 17:57:10 UTC) #1
Xianzhu
ping...
7 years, 3 months ago (2013-09-05 16:35:16 UTC) #2
jar (doing other things)
lgtm
7 years, 3 months ago (2013-09-06 00:56:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/18648003/1
7 years, 3 months ago (2013-09-06 01:17:14 UTC) #4
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 07:35:28 UTC) #5
Message was sent while issue was closed.
Change committed as 221625

Powered by Google App Engine
This is Rietveld 408576698