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

Issue 1005783003: Fix ThumbnailDatabase::RetainDataForPageUrls() to drop unretained page mappings (Closed)

Created:
5 years, 9 months ago by pkotwicz
Modified:
5 years, 9 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ThumbnailDatabase::RetainDataForPageUrls() to drop unretained page mappings This CL makes always ThumbnailDatabase::RetainDataForPageUrls() drop Page URL -> Icon URL mappings for unretained page URLs. Previously, a Page URL -> Icon URL (e.g. PageURL1 -> IconURLA) mapping was not dropped for an unretained Page URL (PageURL1) if: - the favicon data for a different page URL (e.g. PageURL2) was retained AND - PageURL2 is mapped to the same Icon URL as the unretained page URL (PageURL2 -> IconURLA) BUG=468353 TEST=ThumbnailDatabaseTest.RetainDataForPageUrls Committed: https://crrev.com/d1e44aa311e9bfb28cf1962dcc27a3b7a7a1244f Cr-Commit-Position: refs/heads/master@{#321221}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -17 lines) Patch
M chrome/browser/history/thumbnail_database_unittest.cc View 3 chunks +12 lines, -5 lines 0 comments Download
M components/history/core/browser/thumbnail_database.cc View 1 3 chunks +29 lines, -12 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
pkotwicz
shess@ PTAL
5 years, 9 months ago (2015-03-18 17:39:34 UTC) #2
Scott Hess - ex-Googler
https://codereview.chromium.org/1005783003/diff/1/components/history/core/browser/thumbnail_database.cc File components/history/core/browser/thumbnail_database.cc (right): https://codereview.chromium.org/1005783003/diff/1/components/history/core/browser/thumbnail_database.cc#newcode1065 components/history/core/browser/thumbnail_database.cc:1065: statement.Reset(true); Given this table, can the earlier loop be ...
5 years, 9 months ago (2015-03-18 18:27:26 UTC) #3
pkotwicz
shess@ Can you please take another look?
5 years, 9 months ago (2015-03-18 19:31:21 UTC) #4
Scott Hess - ex-Googler
lgtm
5 years, 9 months ago (2015-03-18 19:35:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005783003/40001
5 years, 9 months ago (2015-03-18 20:00:56 UTC) #8
pkotwicz
sky@ for OWNERS
5 years, 9 months ago (2015-03-18 20:02:08 UTC) #11
sky
LGTM
5 years, 9 months ago (2015-03-18 21:03:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005783003/40001
5 years, 9 months ago (2015-03-18 21:06:32 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 9 months ago (2015-03-18 22:18:45 UTC) #15
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 22:19:15 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1e44aa311e9bfb28cf1962dcc27a3b7a7a1244f
Cr-Commit-Position: refs/heads/master@{#321221}

Powered by Google App Engine
This is Rietveld 408576698