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

Issue 1399913002: Stop FaviconHandler from querying GetActiveFaviconValidity() part 2/2 (Closed)

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

Description

Stop FaviconHandler from querying GetActiveFaviconValidity() part 2/2 Remove the GetActiveFaviconValidity() check in FaviconHandler::OnFaviconDataForInitialURLFromFaviconService(). - Calling NotifyFaviconAvailable() on non-Android is inexpensive. - GetActiveFaviconValidity() is only true during back and forward navigations. - Android already ignores GetActiveFaviconValidity() Android Java solely uses the notifications fired from NotifyFaviconAvailable() to determine a page's favicon. It needs to get notifications to update the page's favicon as a result of back and forward notifications BUG=517089 Committed: https://crrev.com/f1b2f5e47074c52c24411f4b90d32396cca4c73f Cr-Commit-Position: refs/heads/master@{#354026}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -31 lines) Patch
M components/favicon/content/content_favicon_driver.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/favicon/content/content_favicon_driver.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M components/favicon/core/favicon_driver.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/favicon/core/favicon_handler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/favicon/core/favicon_handler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/favicon/ios/web_favicon_driver.h View 2 chunks +0 lines, -4 lines 0 comments Download
M components/favicon/ios/web_favicon_driver.cc View 1 2 2 chunks +2 lines, -15 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
pkotwicz
Scott, can you please take a look?
5 years, 2 months ago (2015-10-11 16:38:24 UTC) #3
sky
https://codereview.chromium.org/1399913002/diff/20001/components/favicon/content/content_favicon_driver.h File components/favicon/content/content_favicon_driver.h (right): https://codereview.chromium.org/1399913002/diff/20001/components/favicon/content/content_favicon_driver.h#newcode50 components/favicon/content/content_favicon_driver.h:50: void SetActiveFaviconValidity(bool valid) override; Can you get rid of ...
5 years, 2 months ago (2015-10-12 16:05:32 UTC) #4
pkotwicz
https://codereview.chromium.org/1399913002/diff/20001/components/favicon/content/content_favicon_driver.h File components/favicon/content/content_favicon_driver.h (right): https://codereview.chromium.org/1399913002/diff/20001/components/favicon/content/content_favicon_driver.h#newcode50 components/favicon/content/content_favicon_driver.h:50: void SetActiveFaviconValidity(bool valid) override; I can't remove the setter ...
5 years, 2 months ago (2015-10-13 14:46:37 UTC) #5
sky
Ok, as long as the setter is going to be nuked I'm ok with this. ...
5 years, 2 months ago (2015-10-13 16:28:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399913002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399913002/30001
5 years, 2 months ago (2015-10-13 20:43:00 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/122838)
5 years, 2 months ago (2015-10-13 20:57:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399913002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399913002/50001
5 years, 2 months ago (2015-10-14 14:30:06 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:50001)
5 years, 2 months ago (2015-10-14 15:17:47 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 15:18:33 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f1b2f5e47074c52c24411f4b90d32396cca4c73f
Cr-Commit-Position: refs/heads/master@{#354026}

Powered by Google App Engine
This is Rietveld 408576698