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

Issue 404039: Sort the origins in the cookies_tree_model by effective TLD, as opposed... (Closed)

Created:
11 years, 1 month ago by ian fette
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

Sort the origins in the cookies_tree_model by effective TLD, as opposed to a lexicographical sort on the entire origin as a string. BUG=28192 TEST=cookies_tree_model_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32522

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -8 lines) Patch
M chrome/browser/cookies_tree_model.cc View 1 2 3 4 2 chunks +49 lines, -1 line 0 comments Download
M chrome/browser/cookies_tree_model_unittest.cc View 1 2 7 chunks +38 lines, -7 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ian fette
Ben - Any chance I can get a review? Thanks.
11 years, 1 month ago (2009-11-19 02:08:22 UTC) #1
Ben Goodger (Google)
LGTM http://codereview.chromium.org/404039/diff/1/2 File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/404039/diff/1/2#newcode92 Line 92: // ".google.com" the same as "google.com". maybe ...
11 years, 1 month ago (2009-11-19 02:13:33 UTC) #2
ian fette
11 years, 1 month ago (2009-11-19 03:40:31 UTC) #3
Thanks Ben. Not sure what is up with the mac+linux trybots, looks like flake,
but will try again and submit once they're green.

http://codereview.chromium.org/404039/diff/1/2
File chrome/browser/cookies_tree_model.cc (right):

http://codereview.chromium.org/404039/diff/1/2#newcode92
Line 92: // ".google.com" the same as "google.com".
On 2009/11/19 02:13:33, Ben Goodger wrote:
> maybe add some test values for this in your unittest too...

Done.

http://codereview.chromium.org/404039/diff/1/3
File chrome/browser/cookies_tree_model_unittest.cc (right):

http://codereview.chromium.org/404039/diff/1/3#newcode310
Line 310: DeleteCookie(cookies_model.GetRoot()->GetChild(1));  // Delete "D"
On 2009/11/19 02:13:33, Ben Goodger wrote:
> nit: remove 2 extra spaces of indent.

Done.

Powered by Google App Engine
This is Rietveld 408576698