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

Issue 2828173002: [Refactor] Simplify HistoryBackend::UpdateFaviconMappingsAndFetchImpl() signature (Closed)

Created:
3 years, 8 months ago by pkotwicz
Modified:
3 years, 7 months ago
Reviewers:
mastiz, sky
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Refactor] Simplify HistoryBackend::UpdateFaviconMappingsAndFetchImpl() signature This CL makes HistoryBackend::UpdateFaviconMappingsAndFetchImpl() take one icon type and one icon URL. All of its callers only pass in a single type and a single icon URL This CL makes HistoryService::GetFavicon() take a one icon type and one icon URL as well. BUG=712466 Review-Url: https://codereview.chromium.org/2828173002 Cr-Commit-Position: refs/heads/master@{#468874} Committed: https://chromium.googlesource.com/chromium/src/+/2cdb043cb1911124da7f20aa869aa8423c7a6714

Patch Set 1 : Merge branch 'master' into icon_type0 #

Total comments: 2

Patch Set 2 : Merge branch 'master' into icon_type0 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -279 lines) Patch
M components/favicon/core/favicon_handler.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/favicon/core/favicon_handler_unittest.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M components/favicon/core/favicon_service.h View 1 1 chunk +8 lines, -22 lines 0 comments Download
M components/favicon/core/favicon_service_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/favicon/core/favicon_service_impl.cc View 4 chunks +9 lines, -13 lines 0 comments Download
M components/favicon/core/test/mock_favicon_service.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/history/core/browser/history_backend.h View 3 chunks +11 lines, -15 lines 0 comments Download
M components/history/core/browser/history_backend.cc View 7 chunks +19 lines, -45 lines 2 comments Download
M components/history/core/browser/history_backend_unittest.cc View 1 22 chunks +41 lines, -114 lines 0 comments Download
M components/history/core/browser/history_service.h View 2 chunks +13 lines, -28 lines 0 comments Download
M components/history/core/browser/history_service.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M components/history/core/browser/thumbnail_database.h View 1 chunk +2 lines, -7 lines 0 comments Download
M components/history/core/browser/thumbnail_database.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M components/history/core/browser/thumbnail_database_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
pkotwicz
mastiz@ can you please take a look?
3 years, 8 months ago (2017-04-20 03:16:46 UTC) #3
mastiz
Really nice, LGTM! Please briefly mention the signature change for GetFavicon[s] too in the CL ...
3 years, 8 months ago (2017-04-20 09:11:35 UTC) #4
pkotwicz
Scott, can you please take a look? The purpose of this CL is to enable ...
3 years, 7 months ago (2017-04-29 23:26:54 UTC) #6
pkotwicz
Scott, can you please take a look? The purpose of this CL is to enable ...
3 years, 7 months ago (2017-04-29 23:27:46 UTC) #8
sky
LGTM https://codereview.chromium.org/2828173002/diff/40001/components/history/core/browser/history_backend.cc File components/history/core/browser/history_backend.cc (right): https://codereview.chromium.org/2828173002/diff/40001/components/history/core/browser/history_backend.cc#newcode1895 components/history/core/browser/history_backend.cc:1895: *page_url, icon_type, favicon_ids); Do we ever use more ...
3 years, 7 months ago (2017-05-01 21:34:30 UTC) #9
pkotwicz
https://codereview.chromium.org/2828173002/diff/40001/components/history/core/browser/history_backend.cc File components/history/core/browser/history_backend.cc (right): https://codereview.chromium.org/2828173002/diff/40001/components/history/core/browser/history_backend.cc#newcode1895 components/history/core/browser/history_backend.cc:1895: *page_url, icon_type, favicon_ids); We don't ever pass more than ...
3 years, 7 months ago (2017-05-02 21:49:14 UTC) #10
sky
Feel free to land this and cleanup in a separate patch. -Scott On Tue, May ...
3 years, 7 months ago (2017-05-02 21:59:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2828173002/40001
3 years, 7 months ago (2017-05-03 01:21:47 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 02:24:57 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2cdb043cb1911124da7f20aa869a...

Powered by Google App Engine
This is Rietveld 408576698