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

Issue 10918186: Expire favicons which were added with default favicon sizes (Closed)

Created:
8 years, 3 months ago by pkotwicz
Modified:
8 years, 3 months ago
Reviewers:
michaelbai, sky
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, Nico
Visibility:
Public.

Description

Expire favicons which were added with default favicon sizes Bug=148669, 130896 Test=If a user clicks on a bookmark which is low res (it was added before hidpi favicons were added to Chrome, it becomes hidpi when the user clicks on it). The bookmark should be updated after the user has visited the page and the user restarted Chrome Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156573

Patch Set 1 #

Patch Set 2 : Fixed compile errors #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : Removed Android ifdef as per michaelbai #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -30 lines) Patch
M chrome/browser/extensions/extension_web_ui.cc View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/favicon/favicon_handler.h View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 1 2 3 4 5 6 10 chunks +69 lines, -20 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 1 2 3 4 5 6 7 2 chunks +16 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 2 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
pkotwicz
This CL forces Chrome to refetch any favicon data which was added before the switch ...
8 years, 3 months ago (2012-09-12 16:22:31 UTC) #1
sky
Won't this happen automatically as a result of db migration in previous patches? On Wed, ...
8 years, 3 months ago (2012-09-12 17:04:08 UTC) #2
michaelbai
http://codereview.chromium.org/10918186/diff/3002/chrome/browser/favicon/favicon_handler.cc File chrome/browser/favicon/favicon_handler.cc (right): http://codereview.chromium.org/10918186/diff/3002/chrome/browser/favicon/favicon_handler.cc#newcode124 chrome/browser/favicon/favicon_handler.cc:124: #if !defined(OS_ANDROID) I don't think we should skip this ...
8 years, 3 months ago (2012-09-12 17:05:18 UTC) #3
pkotwicz
The database migration does not set the last_updated time to 0, so I don't think ...
8 years, 3 months ago (2012-09-12 17:19:05 UTC) #4
sky
Don't we end up treating an empty size string as needing to download all? On ...
8 years, 3 months ago (2012-09-12 17:23:51 UTC) #5
pkotwicz
Yes, but FaviconHandler ignored the sizes attribute completely up till this CL.
8 years, 3 months ago (2012-09-12 17:26:18 UTC) #6
pkotwicz
I think I may know what is causing the confusion. HasExpiredOrIncompleteResult() is the incorrect place ...
8 years, 3 months ago (2012-09-12 17:31:46 UTC) #7
pkotwicz
8 years, 3 months ago (2012-09-12 18:08:56 UTC) #8
sky
LGTM
8 years, 3 months ago (2012-09-12 21:27:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10918186/2005
8 years, 3 months ago (2012-09-13 15:18:05 UTC) #10
commit-bot: I haz the power
Commit queue had an internal error. Something went really wrong, probably a crash, a hickup ...
8 years, 3 months ago (2012-09-13 17:21:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10918186/2005
8 years, 3 months ago (2012-09-13 17:38:04 UTC) #12
commit-bot: I haz the power
8 years, 3 months ago (2012-09-13 17:38:26 UTC) #13
Change committed as 156573

Powered by Google App Engine
This is Rietveld 408576698