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

Issue 2832091: Unpin deleted URLs + better deleting algorithm. (Closed)

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

Description

Unpin deleted URLs + better deleting algorithm. BUG=none TEST=TopSitesTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54003

Patch Set 1 #

Total comments: 3

Patch Set 2 : After review. #

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

Messages

Total messages: 4 (0 generated)
Nik Shkrob
http://codereview.chromium.org/2832091/diff/1/2 File chrome/browser/history/top_sites.cc (left): http://codereview.chromium.org/2832091/diff/1/2#oldcode810 chrome/browser/history/top_sites.cc:810: top_sites_.erase(top_sites_.begin() + i); Fixed deleting from top_sites_ while iterating ...
10 years, 4 months ago (2010-07-28 18:25:08 UTC) #1
brettw
http://codereview.chromium.org/2832091/diff/1/2 File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/2832091/diff/1/2#newcode822 chrome/browser/history/top_sites.cc:822: canonical_urls_.clear(); Could doing this break anything that happens in ...
10 years, 4 months ago (2010-07-28 18:37:20 UTC) #2
Nik Shkrob
http://codereview.chromium.org/2832091/diff/1/2 File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/2832091/diff/1/2#newcode822 chrome/browser/history/top_sites.cc:822: canonical_urls_.clear(); On 2010/07/28 18:37:20, brettw wrote: > Could doing ...
10 years, 4 months ago (2010-07-28 19:02:19 UTC) #3
brettw
10 years, 4 months ago (2010-07-28 19:41:34 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698