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

Issue 3039029: New pinning algorithm. (Closed)

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

Description

Fix the pinning algorithm so that pinned URLs are not shifted during insertions and deletions. BUG=none TEST=TopSitesTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53796

Patch Set 1 #

Patch Set 2 : Style. #

Patch Set 3 : Cleanup #

Total comments: 4

Patch Set 4 : Handle the case where a pinned URL is not in top_sites_. #

Patch Set 5 : Add missing the else part. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -23 lines) Patch
M chrome/browser/history/top_sites.cc View 1 2 3 4 2 chunks +36 lines, -23 lines 0 comments Download
M chrome/browser/history/top_sites_unittest.cc View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Nik Shkrob
10 years, 4 months ago (2010-07-26 20:48:56 UTC) #1
arv (Not doing code reviews)
http://codereview.chromium.org/3039029/diff/7001/8001 File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/3039029/diff/7001/8001#newcode386 chrome/browser/history/top_sites.cc:386: int cur_index = IndexOf(urls_copy, url); I don't think I ...
10 years, 4 months ago (2010-07-26 22:12:30 UTC) #2
Nik Shkrob
http://codereview.chromium.org/3039029/diff/7001/8001 File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/3039029/diff/7001/8001#newcode386 chrome/browser/history/top_sites.cc:386: int cur_index = IndexOf(urls_copy, url); On 2010/07/26 22:12:30, arv ...
10 years, 4 months ago (2010-07-27 00:03:18 UTC) #3
arv (Not doing code reviews)
10 years, 4 months ago (2010-07-27 16:52:53 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698