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

Issue 147220: Use platform-appropriate newlines in JSON output (Closed)

Created:
11 years, 6 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Use platform-appropriate newlines in JSON output. BUG=15462 TEST=base_unittests, unit_tests, check newlines in bookmarks file Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19418

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -49 lines) Patch
A base/data/file_util_unittest/blank_line.txt View 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A base/data/file_util_unittest/blank_line_crlf.txt View 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A base/data/file_util_unittest/crlf.txt View 1 chunk +1 line, -0 lines 0 comments Download
A base/data/file_util_unittest/first1.txt View 1 chunk +2 lines, -0 lines 0 comments Download
A base/data/file_util_unittest/first2.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M base/file_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M base/file_util.cc View 2 3 1 chunk +42 lines, -3 lines 0 comments Download
M base/file_util_unittest.cc View 2 3 1 chunk +50 lines, -0 lines 0 comments Download
M base/json_reader_unittest.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M base/json_writer.cc View 1 chunk +5 lines, -1 line 0 comments Download
M base/json_writer_unittest.cc View 1 2 chunks +15 lines, -6 lines 0 comments Download
M chrome/common/json_value_serializer_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/pref_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
MM chrome/test/data/pref_service/write.golden.json View 1 chunk +11 lines, -11 lines 0 comments Download
MM chrome/test/data/serializer_nested_test.js View 1 chunk +17 lines, -17 lines 0 comments Download
MM chrome/test/data/serializer_test.js View 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mark Mentovai
11 years, 6 months ago (2009-06-26 17:57:34 UTC) #1
Erik does not do reviews
LGTM - just minor tweaks http://codereview.chromium.org/147220/diff/1/2 File base/json_writer.cc (right): http://codereview.chromium.org/147220/diff/1/2#newcode13 Line 13: static const char ...
11 years, 6 months ago (2009-06-26 18:27:31 UTC) #2
Mark Mentovai
New version up, avoids breaking tests by providing a line-by-line file comparison utility that's not ...
11 years, 6 months ago (2009-06-26 19:45:12 UTC) #3
Erik does not do reviews
http://codereview.chromium.org/147220/diff/1007/1012 File base/file_util.cc (right): http://codereview.chromium.org/147220/diff/1007/1012#newcode153 Line 153: if (!file1.is_open() || !file2.is_open()) { remove {} http://codereview.chromium.org/147220/diff/1007/1012#newcode163 ...
11 years, 6 months ago (2009-06-26 20:00:32 UTC) #4
Mark Mentovai
New version up. http://codereview.chromium.org/147220/diff/1007/1012 File base/file_util.cc (right): http://codereview.chromium.org/147220/diff/1007/1012#newcode171 Line 171: if (end1 != std::string::npos && ...
11 years, 6 months ago (2009-06-26 20:13:30 UTC) #5
Erik does not do reviews
11 years, 6 months ago (2009-06-26 21:16:39 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698