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

Issue 3035045: Add dictionary comparing functions and unit tests (Closed)

Created:
10 years, 4 months ago by danno
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add dictionary comparing functions to DictionaryValue and unit tests TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54879

Patch Set 1 #

Patch Set 2 : fit nits #

Total comments: 32

Patch Set 3 : Review feedback #

Total comments: 12

Patch Set 4 : review feedback #

Patch Set 5 : fix windows build #

Total comments: 2

Patch Set 6 : fix nits, add unit test #

Patch Set 7 : remove whitespace #

Patch Set 8 : merge with latest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -22 lines) Patch
M base/values.h View 1 2 3 4 5 6 7 2 chunks +21 lines, -0 lines 0 comments Download
M base/values.cc View 1 2 3 4 5 6 7 1 chunk +108 lines, -0 lines 0 comments Download
M base/values_unittest.cc View 1 2 3 4 5 6 7 24 chunks +153 lines, -22 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
danno
Please review
10 years, 4 months ago (2010-08-02 15:00:56 UTC) #1
Mattias Nissler (ping if slow)
Looks pretty good, I've put notes on stuff I think could be improved. http://codereview.chromium.org/3035045/diff/17001/18001 File ...
10 years, 4 months ago (2010-08-02 15:39:24 UTC) #2
danno
Addressed feedback http://codereview.chromium.org/3035045/diff/17001/18001 File base/values.cc (right): http://codereview.chromium.org/3035045/diff/17001/18001#newcode725 base/values.cc:725: if (!other) { On 2010/08/02 15:39:24, mnissler ...
10 years, 4 months ago (2010-08-02 16:48:40 UTC) #3
Paweł Hajdan Jr.
Drive-by with minor test comments. http://codereview.chromium.org/3035045/diff/27001/25004 File base/values_unittest.cc (right): http://codereview.chromium.org/3035045/diff/27001/25004#newcode24 base/values_unittest.cc:24: EXPECT_TRUE(differing_paths.size() == expected_paths_count); nit: ...
10 years, 4 months ago (2010-08-02 17:49:41 UTC) #4
Mattias Nissler (ping if slow)
LGTM with nits. Probably also needs rebasing, see trybots. On 2010/08/02 17:49:41, Paweł Hajdan Jr. ...
10 years, 4 months ago (2010-08-02 18:10:07 UTC) #5
Mattias Nissler (ping if slow)
Comment should have gone here, sorry. Again: LGTM with nits. Probably also needs rebasing, see ...
10 years, 4 months ago (2010-08-02 18:12:25 UTC) #6
danno
The changes were big enough that I'd like you to take one more look, Mattias. ...
10 years, 4 months ago (2010-08-03 13:36:39 UTC) #7
Mattias Nissler (ping if slow)
10 years, 4 months ago (2010-08-03 15:17:48 UTC) #8
LGTM, only two spelling nits. Understanding the dictionary comparison logic is
still quite complex, but I don't know a better way myself.

http://codereview.chromium.org/3035045/diff/26002/38001
File base/values.cc (right):

http://codereview.chromium.org/3035045/diff/26002/38001#newcode953
base/values.cc:953: // In order to maintain lexical sotring order, directory
s/sotring/sorting/

http://codereview.chromium.org/3035045/diff/26002/38001#newcode954
base/values.cc:954: // paths are pushed "optimistically" assuming that thier
subtree will
s/thier/their/

Powered by Google App Engine
This is Rietveld 408576698