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

Issue 8505033: Allow JSONWriter and JSONValueSerializer to omit binary values when instructed to do so. (Closed)

Created:
9 years, 1 month ago by Eric Dingle
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org, Eric Dingle
Visibility:
Public.

Description

Allow JSONWriter and JSONValueSerializer to ignore binary values when instructed to do so. Design discussion is available here: http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/967eb64325c24f9c BUG=None TEST=base_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110021 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110640

Patch Set 1 #

Patch Set 2 : Address lint warning. #

Total comments: 4

Patch Set 3 : Address Joi's comments. #

Total comments: 8

Patch Set 4 : Address Will's comments. #

Patch Set 5 : Remove extra virtual. #

Total comments: 6

Patch Set 6 : Address Will's comments. #

Patch Set 7 : Fix JSONWriterTest. #

Patch Set 8 : Fix chrome\browser\policy\configuration_policy_handler_chromeos.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -30 lines) Patch
M base/json/json_value_serializer.h View 1 2 3 4 5 6 7 4 chunks +12 lines, -0 lines 0 comments Download
M base/json/json_value_serializer.cc View 1 2 3 4 5 2 chunks +27 lines, -2 lines 0 comments Download
M base/json/json_writer.h View 1 2 3 3 chunks +17 lines, -8 lines 0 comments Download
M base/json/json_writer.cc View 1 2 3 6 chunks +36 lines, -17 lines 0 comments Download
M base/json/json_writer_unittest.cc View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Eric Dingle
9 years, 1 month ago (2011-11-09 21:40:34 UTC) #1
Jói
Cool, I have a couple of nits. Note that Evan is on leave for the ...
9 years, 1 month ago (2011-11-10 11:08:16 UTC) #2
Eric Dingle
http://codereview.chromium.org/8505033/diff/2001/base/json/json_value_serializer.h File base/json/json_value_serializer.h (right): http://codereview.chromium.org/8505033/diff/2001/base/json/json_value_serializer.h#newcode41 base/json/json_value_serializer.h:41: // into the string passed into the constructor. In ...
9 years, 1 month ago (2011-11-10 15:05:25 UTC) #3
Jói
LGTM
9 years, 1 month ago (2011-11-10 15:07:14 UTC) #4
willchan no longer on Chromium
http://codereview.chromium.org/8505033/diff/2002/base/json/json_value_serializer.h File base/json/json_value_serializer.h (right): http://codereview.chromium.org/8505033/diff/2002/base/json/json_value_serializer.h#newcode47 base/json/json_value_serializer.h:47: virtual bool Serialize(const Value& root, bool ignore_binary_values); No overloading, ...
9 years, 1 month ago (2011-11-10 18:33:07 UTC) #5
willchan no longer on Chromium
http://codereview.chromium.org/8505033/diff/2002/base/json/json_value_serializer.cc File base/json/json_value_serializer.cc (right): http://codereview.chromium.org/8505033/diff/2002/base/json/json_value_serializer.cc#newcode29 base/json/json_value_serializer.cc:29: &root, Should be 4 space indent. See the example ...
9 years, 1 month ago (2011-11-10 18:52:27 UTC) #6
Eric Dingle
http://codereview.chromium.org/8505033/diff/2002/base/json/json_value_serializer.cc File base/json/json_value_serializer.cc (right): http://codereview.chromium.org/8505033/diff/2002/base/json/json_value_serializer.cc#newcode29 base/json/json_value_serializer.cc:29: &root, On 2011/11/10 18:52:27, willchan wrote: > Should be ...
9 years, 1 month ago (2011-11-10 23:19:57 UTC) #7
willchan no longer on Chromium
http://codereview.chromium.org/8505033/diff/11004/base/json/json_value_serializer.h File base/json/json_value_serializer.h (right): http://codereview.chromium.org/8505033/diff/11004/base/json/json_value_serializer.h#newcode39 base/json/json_value_serializer.h:39: // Equivalent to calling Serialize(root, false). Comments are off. ...
9 years, 1 month ago (2011-11-10 23:46:29 UTC) #8
Eric Dingle
http://codereview.chromium.org/8505033/diff/11004/base/json/json_value_serializer.h File base/json/json_value_serializer.h (right): http://codereview.chromium.org/8505033/diff/11004/base/json/json_value_serializer.h#newcode39 base/json/json_value_serializer.h:39: // Equivalent to calling Serialize(root, false). On 2011/11/10 23:46:29, ...
9 years, 1 month ago (2011-11-14 19:03:56 UTC) #9
willchan no longer on Chromium
LGTM
9 years, 1 month ago (2011-11-14 22:37:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/8505033/18001
9 years, 1 month ago (2011-11-15 00:00:39 UTC) #11
commit-bot: I haz the power
Try job failure for 8505033-18001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-15 00:34:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/8505033/22002
9 years, 1 month ago (2011-11-15 01:25:10 UTC) #13
commit-bot: I haz the power
Change committed as 110021
9 years, 1 month ago (2011-11-15 02:50:51 UTC) #14
Eric Dingle
+mnissler as reviewer Mattias, can you please review the change to chrome/browser/policy/configuration_policy_handler_chromeos.cc?
9 years, 1 month ago (2011-11-16 18:32:48 UTC) #15
Mattias Nissler (ping if slow)
chrome/browser/policy LGTM, but I wonder if stripping the binary values in a preprocessing step before ...
9 years, 1 month ago (2011-11-16 18:45:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/8505033/25001
9 years, 1 month ago (2011-11-18 00:52:50 UTC) #17
commit-bot: I haz the power
9 years, 1 month ago (2011-11-18 02:29:59 UTC) #18
Change committed as 110640

Powered by Google App Engine
This is Rietveld 408576698