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

Issue 11411180: move favicon download code from chrome/ into content/ (Closed)

Created:
8 years ago by Cait (Slow)
Modified:
8 years ago
Reviewers:
jam, Cris Neckar
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, cbentzel+watch_chromium.org, sadrul, ben+watch_chromium.org, tburkard+watch_chromium.org, tfarina, browser-components-watch_chromium.org, joi+watch-content_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org, estade+watch_chromium.org, mmenke, Jói
Visibility:
Public.

Description

move favicon download code from chrome/ into content/ -chrome/renderer/favicon_helper.(h|cc) ->content/renderer/... -chrome/common/icon_messages.h -> content/common/icon_messages.h -favicon_download_helper.(h|cc) API incorporated into web_contents -chrome/browser/favicon/favicon_download_helper_delegate.h -> content/public/browser/favicon_download_delegate.h Depends on: https://codereview.chromium.org/11416179/ https://codereview.chromium.org/11421051/ BUG=160995 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171411

Patch Set 1 #

Total comments: 31

Patch Set 2 : Rebase + comments #

Patch Set 3 : WebContentsObserver and callback #

Total comments: 16

Patch Set 4 : Comments and cleanup #

Patch Set 5 : Fix TouchEnabled #

Patch Set 6 : weak ptrs #

Patch Set 7 : try-bot fixes #

Patch Set 8 : #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Patch Set 11 : Rebase #

Patch Set 12 : rebase, again #

Patch Set 13 : fix order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -804 lines) Patch
M chrome/browser/favicon/DEPS View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/browser/favicon/favicon_download_helper.h View 1 2 1 chunk +0 lines, -75 lines 0 comments Download
D chrome/browser/favicon/favicon_download_helper.cc View 1 2 1 chunk +0 lines, -79 lines 0 comments Download
M chrome/browser/favicon/favicon_download_helper_delegate.h View 1 1 chunk +0 lines, -38 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.h View 5 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.h View 1 2 4 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.cc View 1 2 3 4 5 6 7 6 chunks +12 lines, -13 lines 0 comments Download
M chrome/browser/favicon/favicon_util.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 4 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/prerender/prerender_render_view_host_observer.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/prerender/prerender_render_view_host_observer.cc View 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_favicon_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc View 1 2 3 4 5 6 7 8 9 7 chunks +33 lines, -31 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -14 lines 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper_win.h View 1 2 3 chunks +13 lines, -18 lines 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper_win.cc View 1 2 3 4 5 6 4 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/ash/balloon_view_ash.h View 1 2 3 4 5 2 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/ash/balloon_view_ash.cc View 1 2 3 4 5 4 chunks +20 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/create_application_shortcut_view.h View 1 2 3 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/create_application_shortcut_view.cc View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 2 3 5 chunks +13 lines, -19 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/favicon_url.h View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/common/favicon_url.cc View 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/common/icon_messages.h View 1 chunk +0 lines, -46 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
D chrome/renderer/favicon_helper.h View 1 chunk +0 lines, -75 lines 0 comments Download
D chrome/renderer/favicon_helper.cc View 1 chunk +0 lines, -172 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 4 chunks +14 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +47 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
A + content/common/icon_messages.h View 3 chunks +4 lines, -4 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -3 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
A + content/public/common/favicon_url.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
A + content/public/common/favicon_url.cc View 2 chunks +5 lines, -1 line 0 comments Download
M content/public/renderer/render_view_observer.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
A + content/renderer/favicon_helper.h View 1 2 3 4 chunks +19 lines, -8 lines 0 comments Download
A + content/renderer/favicon_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +40 lines, -24 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Cait (Slow)
Hi John, This CL moves the remaining favicon download code into content/ and incorporates DownloadFavicon() ...
8 years ago (2012-11-27 00:14:42 UTC) #1
jam
I'm assuming you don't want me to look at https://codereview.chromium.org/11416179/ https://codereview.chromium.org/11411180/diff/1/chrome/browser/favicon/favicon_download_helper.cc File chrome/browser/favicon/favicon_download_helper.cc (right): https://codereview.chromium.org/11411180/diff/1/chrome/browser/favicon/favicon_download_helper.cc#newcode34 ...
8 years ago (2012-11-27 01:16:30 UTC) #2
Cait (Slow)
https://chromiumcodereview.appspot.com/11411180/diff/1/chrome/browser/favicon/favicon_download_helper.cc File chrome/browser/favicon/favicon_download_helper.cc (right): https://chromiumcodereview.appspot.com/11411180/diff/1/chrome/browser/favicon/favicon_download_helper.cc#newcode34 chrome/browser/favicon/favicon_download_helper.cc:34: host->Send(new IconMsg_DownloadFavicon(host->GetRoutingID(), id, url, On 2012/11/27 01:16:31, John Abd-El-Malek ...
8 years ago (2012-11-28 00:11:45 UTC) #3
jam
https://chromiumcodereview.appspot.com/11411180/diff/1/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): https://chromiumcodereview.appspot.com/11411180/diff/1/content/public/browser/web_contents.h#newcode405 content/public/browser/web_contents.h:405: virtual int DownloadFavicon(const GURL& url, int image_size) = 0; ...
8 years ago (2012-11-28 04:08:16 UTC) #4
Cait (Slow)
On 2012/11/28 04:08:16, John Abd-El-Malek wrote: > https://chromiumcodereview.appspot.com/11411180/diff/1/content/public/browser/web_contents.h > File content/public/browser/web_contents.h (right): > > https://chromiumcodereview.appspot.com/11411180/diff/1/content/public/browser/web_contents.h#newcode405 ...
8 years ago (2012-11-29 21:59:18 UTC) #5
jam
(sorry for the delay, I only just saw this now. in the future please feel ...
8 years ago (2012-11-30 23:04:32 UTC) #6
Cait (Slow)
On 2012/11/30 23:04:32, John Abd-El-Malek wrote: > (sorry for the delay, I only just saw ...
8 years ago (2012-12-03 21:20:37 UTC) #7
jam
lgtm, thanks this looks much nicer I tried to look at all the places where ...
8 years ago (2012-12-03 21:59:39 UTC) #8
Cait (Slow)
https://codereview.chromium.org/11411180/diff/2004/chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc File chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc (right): https://codereview.chromium.org/11411180/diff/2004/chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc#newcode12 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc:12: #include "content/public/common/favicon_url.h" On 2012/12/03 21:59:39, John Abd-El-Malek wrote: > ...
8 years ago (2012-12-04 20:57:35 UTC) #9
Cait (Slow)
Hi Cris, PTAL at content/common/icon_messages.h. This is the same code that previously lived in chrome/common/icon_messages.h. ...
8 years ago (2012-12-05 19:10:19 UTC) #10
Cris Neckar
IPC changes lgtm
8 years ago (2012-12-05 19:50:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/11411180/22001
8 years ago (2012-12-05 20:56:14 UTC) #12
commit-bot: I haz the power
Failed to apply patch for chrome/browser/favicon/favicon_handler_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-12-05 20:56:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/11411180/24002
8 years ago (2012-12-05 21:07:42 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/favicon/favicon_handler_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-12-05 21:08:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/11411180/20002
8 years ago (2012-12-05 23:09:21 UTC) #16
commit-bot: I haz the power
Presubmit check for 11411180-20002 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-05 23:10:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/11411180/16055
8 years ago (2012-12-05 23:14:32 UTC) #18
commit-bot: I haz the power
8 years ago (2012-12-06 06:13:55 UTC) #19
Message was sent while issue was closed.
Change committed as 171411

Powered by Google App Engine
This is Rietveld 408576698