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

Issue 10003001: Update JSONReader to take base::StringPiece instead of std::string (Closed)

Created:
8 years, 8 months ago by mitchellwrosen
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Update JSONReader to take base::StringPiece instead of std::string I also went through the source tree and fixed any now-unnecessary conversions from base::StringPiece to std::string BUG=114785 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140177

Patch Set 1 #

Total comments: 1

Patch Set 2 : Resolved with trunk #

Patch Set 3 : Small StringPiece vs. std::string changes, also modified IsStringUTF8 #

Patch Set 4 : Sync with Parser changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M base/json/json_parser.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M base/json/json_parser.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M base/json/json_reader.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M base/json/json_reader.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/plugin_finder.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/web_apps.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/base/crl_set.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
mitchellwrosen
8 years, 8 months ago (2012-04-05 03:31:33 UTC) #1
mitchellwrosen
8 years, 8 months ago (2012-04-15 17:47:19 UTC) #2
Aaron Boodman
LGTM wow, that was lucky that the JSONReader was already setup to use data(). https://chromiumcodereview.appspot.com/10003001/diff/1/chrome/browser/extensions/component_loader.h ...
8 years, 8 months ago (2012-04-15 21:04:29 UTC) #3
Robert Sesek
Please do not land this. I'm making significant changes to the JSONReader, with which this ...
8 years, 8 months ago (2012-04-16 16:25:29 UTC) #4
Robert Sesek
No, it doesn't. My change copies the entire input string exactly once and then stores ...
8 years, 8 months ago (2012-04-17 14:40:31 UTC) #5
Aaron Boodman
It's orthogonal: You can see the associated bug for this same information, but summarizing: There ...
8 years, 8 months ago (2012-04-18 22:53:57 UTC) #6
Aaron Boodman
On Wed, Apr 18, 2012 at 3:53 PM, Aaron Boodman <aa@chromium.org> wrote: > It's orthogonal: ...
8 years, 8 months ago (2012-04-18 23:09:35 UTC) #7
Robert Sesek
On 2012/04/18 23:09:35, Aaron Boodman wrote: > On Wed, Apr 18, 2012 at 3:53 PM, ...
8 years, 8 months ago (2012-04-20 17:24:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10003001/9002
8 years, 7 months ago (2012-05-01 03:04:23 UTC) #9
commit-bot: I haz the power
Presubmit check for 10003001-9002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-01 03:04:31 UTC) #10
Aaron Boodman
+willchan for base/OWNERS
8 years, 7 months ago (2012-05-01 03:19:19 UTC) #11
willchan no longer on Chromium
lgtm
8 years, 7 months ago (2012-05-01 03:41:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10003001/9002
8 years, 7 months ago (2012-05-01 03:45:00 UTC) #13
commit-bot: I haz the power
Try job failure for 10003001-9002 (retry) on mac_rel for steps "browser_tests, net_unittests, unit_tests". It's a ...
8 years, 7 months ago (2012-05-01 08:32:24 UTC) #14
Aaron Boodman
I think my LGTM from way back still stands, but there's another.
8 years, 7 months ago (2012-05-07 21:20:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10003001/30002
8 years, 7 months ago (2012-05-09 03:14:03 UTC) #16
commit-bot: I haz the power
Try job failure for 10003001-30002 (retry) on win_rel for steps "browser_tests, installer_util_unittests". It's a second ...
8 years, 7 months ago (2012-05-09 06:13:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10003001/37003
8 years, 6 months ago (2012-06-02 02:26:48 UTC) #18
commit-bot: I haz the power
8 years, 6 months ago (2012-06-02 04:40:41 UTC) #19
Change committed as 140177

Powered by Google App Engine
This is Rietveld 408576698