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

Issue 1295733002: Ignore duplicate FaviconHandler::OnUpdateFaviconURL() calls (Closed)

Created:
5 years, 4 months ago by pkotwicz
Modified:
5 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@page_changed_under_us
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore duplicate FaviconHandler::OnUpdateFaviconURL() calls The renderer sends multiple identical favicon URL updates for a page if the page starts and stops loading multiple times. This CL makes FaviconHandler ignore the duplicate updates. BUG=517089 TEST=FaviconHandlerTest.UpdateSameIconURLs Committed: https://crrev.com/ab65e6b93624cb054e50456c75397b372b39eef7 Cr-Commit-Position: refs/heads/master@{#353099}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -71 lines) Patch
M components/favicon/core/favicon_handler.h View 1 3 chunks +7 lines, -6 lines 0 comments Download
M components/favicon/core/favicon_handler.cc View 1 8 chunks +54 lines, -37 lines 0 comments Download
M components/favicon/core/favicon_handler_unittest.cc View 17 chunks +79 lines, -28 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (5 generated)
pkotwicz
Scott, can you please take a look? This is another step towards making FaviconHandler not ...
5 years, 2 months ago (2015-10-05 00:39:18 UTC) #3
sky
If we want to go to a place where FaviconHandler handles one and only one ...
5 years, 2 months ago (2015-10-05 15:57:31 UTC) #4
pkotwicz
It does matter. Although we will remove FaviconHandler::FetchFavicon() and make it the constructor, FaviconHandler::OnUpdateFaviconURL() will ...
5 years, 2 months ago (2015-10-05 16:02:25 UTC) #5
sky
https://codereview.chromium.org/1295733002/diff/20001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/1295733002/diff/20001/components/favicon/core/favicon_handler.cc#newcode684 components/favicon/core/favicon_handler.cc:684: std::vector<FaviconURL>* image_urls) { Move this into anonymous namespace as ...
5 years, 2 months ago (2015-10-05 17:22:43 UTC) #6
pkotwicz
Scott can you please take another look? I have moved SortAndPruneImageUrls() into the anonymous namespace ...
5 years, 2 months ago (2015-10-06 18:40:36 UTC) #8
sky
LGTM
5 years, 2 months ago (2015-10-06 20:01:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1295733002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1295733002/80001
5 years, 2 months ago (2015-10-08 17:53:50 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 2 months ago (2015-10-08 18:38:09 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 18:40:24 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ab65e6b93624cb054e50456c75397b372b39eef7
Cr-Commit-Position: refs/heads/master@{#353099}

Powered by Google App Engine
This is Rietveld 408576698