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

Issue 2728893004: Move WasUnableToDownload logic to FaviconHandler (Closed)

Created:
3 years, 9 months ago by mastiz
Modified:
3 years, 9 months ago
Reviewers:
pkotwicz
CC:
chromium-reviews, jam, darin-cc_chromium.org, Eugene But (OOO till 7-30)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move WasUnableToDownload logic to FaviconHandler There's no need to leak this logic to the FaviconDriver class hierarchy and have duplicate platform-dependent code. BUG=694312 Review-Url: https://codereview.chromium.org/2728893004 Cr-Commit-Position: refs/heads/master@{#455408} Committed: https://chromium.googlesource.com/chromium/src/+/e14e925e1705ff0cf7bc9726afc6761459a254a1

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Register in download_requests_ #

Patch Set 5 : Reverted accidental changes. #

Messages

Total messages: 24 (12 generated)
mastiz
3 years, 9 months ago (2017-03-02 13:23:49 UTC) #4
pkotwicz
https://codereview.chromium.org/2728893004/diff/1/components/favicon/content/content_favicon_driver_unittest.cc File components/favicon/content/content_favicon_driver_unittest.cc (right): https://codereview.chromium.org/2728893004/diff/1/components/favicon/content/content_favicon_driver_unittest.cc#newcode74 components/favicon/content/content_favicon_driver_unittest.cc:74: // start a download. How about: Test that a ...
3 years, 9 months ago (2017-03-02 21:20:26 UTC) #7
mastiz
PTAL. https://codereview.chromium.org/2728893004/diff/1/components/favicon/content/content_favicon_driver_unittest.cc File components/favicon/content/content_favicon_driver_unittest.cc (right): https://codereview.chromium.org/2728893004/diff/1/components/favicon/content/content_favicon_driver_unittest.cc#newcode74 components/favicon/content/content_favicon_driver_unittest.cc:74: // start a download. On 2017/03/02 21:20:26, pkotwicz ...
3 years, 9 months ago (2017-03-03 14:21:14 UTC) #9
pkotwicz
https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc#newcode670 components/favicon/core/favicon_handler.cc:670: if (service_ && service_->WasUnableToDownloadFavicon(image_url)) { This bug is reproduceable ...
3 years, 9 months ago (2017-03-03 18:31:16 UTC) #13
mastiz
PTAL. https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc#newcode670 components/favicon/core/favicon_handler.cc:670: if (service_ && service_->WasUnableToDownloadFavicon(image_url)) { On 2017/03/03 18:31:16, ...
3 years, 9 months ago (2017-03-03 20:37:01 UTC) #14
pkotwicz
https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc#newcode670 components/favicon/core/favicon_handler.cc:670: if (service_ && service_->WasUnableToDownloadFavicon(image_url)) { Fair enough https://codereview.chromium.org/2728893004/diff/1/components/favicon/core/favicon_handler.cc#newcode690 components/favicon/core/favicon_handler.cc:690: ...
3 years, 9 months ago (2017-03-03 20:56:14 UTC) #15
pkotwicz
3 years, 9 months ago (2017-03-03 20:56:18 UTC) #16
mastiz
PTAL. https://codereview.chromium.org/2728893004/diff/40001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2728893004/diff/40001/components/favicon/core/favicon_handler.cc#newcode664 components/favicon/core/favicon_handler.cc:664: if (service_ && service_->WasUnableToDownloadFavicon(image_url)) { On 2017/03/03 20:56:14, ...
3 years, 9 months ago (2017-03-06 09:11:42 UTC) #17
mastiz
Friendly ping, I believe this could be ready for landing, thx.
3 years, 9 months ago (2017-03-07 09:37:27 UTC) #18
pkotwicz
LGTM. Sorry for the delay
3 years, 9 months ago (2017-03-08 05:44:33 UTC) #19
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/2728893004/80001
3 years, 9 months ago (2017-03-08 08:06:16 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 09:04:10 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e14e925e1705ff0cf7bc9726afc6...

Powered by Google App Engine
This is Rietveld 408576698