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

Issue 11746010: Cleanup history favicon code (Closed)

Created:
7 years, 11 months ago by pkotwicz
Modified:
7 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews, Aaron Boodman, browser-components-watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Cleanup history favicon code This removes the currently unused IconURLSizesMap. It also uses the 'expired' parameter in the 'favicon_bitmaps' table instead of the 'sizes' attribute in the 'favicons' table. Given that we are unlikely going to move to storing unresized bitmaps to the database due to perf problems when resizing the favicon each time it is requested, using the IconURLSizesMap is probably not the right solution in the future anyways. This CL should make the code in HistoryBackend less scary. BUG=None Test=No functionality change HistoryBackendTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178432

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -759 lines) Patch
M chrome/browser/extensions/extension_web_ui.cc View 1 2 3 2 chunks +1 line, -14 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.h View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 1 2 3 4 chunks +30 lines, -50 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 1 2 3 1 chunk +1 line, -12 lines 0 comments Download
M chrome/browser/favicon/favicon_service.h View 3 chunks +4 lines, -21 lines 0 comments Download
M chrome/browser/favicon/favicon_service.cc View 7 chunks +8 lines, -26 lines 0 comments Download
M chrome/browser/history/android/android_provider_backend_unittest.cc View 1 2 3 3 chunks +3 lines, -27 lines 0 comments Download
M chrome/browser/history/history.h View 1 2 3 1 chunk +8 lines, -15 lines 0 comments Download
M chrome/browser/history/history.cc View 1 2 3 6 chunks +12 lines, -13 lines 0 comments Download
M chrome/browser/history/history_backend.h View 1 2 3 8 chunks +15 lines, -54 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 3 16 chunks +85 lines, -142 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 1 2 3 33 chunks +137 lines, -360 lines 0 comments Download
M chrome/browser/history/history_types.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 3 chunks +4 lines, -18 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
pkotwicz
Scott, can you please take a look?
7 years, 11 months ago (2013-01-03 16:33:19 UTC) #1
sky
LGTM
7 years, 11 months ago (2013-01-07 17:35:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/11746010/15001
7 years, 11 months ago (2013-01-23 20:22:13 UTC) #3
commit-bot: I haz the power
7 years, 11 months ago (2013-01-23 23:47:29 UTC) #4
Message was sent while issue was closed.
Change committed as 178432

Powered by Google App Engine
This is Rietveld 408576698