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

Issue 11232068: Extract renderer-side favicon downloading code into separate helper class (Closed)

Created:
8 years, 2 months ago by Cait (Slow)
Modified:
8 years, 1 month ago
Reviewers:
joth, jam, sky
CC:
chromium-reviews, darin-cc_chromium.org, joth, andreip3000, Jói
Visibility:
Public.

Description

Extract renderer-side favicon downloading code into separate helper class This is the renderer-side companion to http://codereview.chromium.org/11195010/ BUG=160995 TEST=no visible change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167965

Patch Set 1 #

Patch Set 2 : move UpdateFaviconURL code into helper #

Total comments: 8

Patch Set 3 : comments #

Total comments: 8

Patch Set 4 : Move remaining favicon functionality to FaviconHelper #

Total comments: 4

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Rebase + fix #

Total comments: 2

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -164 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 2 3 4 5 chunks +0 lines, -34 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 4 5 6 6 chunks +1 line, -129 lines 0 comments Download
A chrome/renderer/favicon_helper.h View 1 2 3 4 5 6 7 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/renderer/favicon_helper.cc View 1 2 3 4 5 6 7 1 chunk +172 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Cait (Slow)
sky: PTAL -- this change is so that the favicon downloading code can be reused ...
8 years, 2 months ago (2012-10-24 14:30:10 UTC) #1
joth
minor suggestions (but as the is in existing code that's just being moved, may be ...
8 years, 2 months ago (2012-10-24 22:02:23 UTC) #2
Cait (Slow)
http://codereview.chromium.org/11232068/diff/1007/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): http://codereview.chromium.org/11232068/diff/1007/chrome/renderer/chrome_content_renderer_client.cc#newcode280 chrome/renderer/chrome_content_renderer_client.cc:280: FaviconHelper* favicon = new FaviconHelper(render_view); On 2012/10/24 22:02:23, joth ...
8 years, 1 month ago (2012-10-25 20:29:23 UTC) #3
joth
On non-nit suggestion here - I think we can go a bit further with the ...
8 years, 1 month ago (2012-10-30 14:41:45 UTC) #4
Cait (Slow)
https://codereview.chromium.org/11232068/diff/5002/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): https://codereview.chromium.org/11232068/diff/5002/chrome/renderer/chrome_render_view_observer.cc#newcode679 chrome/renderer/chrome_render_view_observer.cc:679: routing_id(), render_view()->GetPageId(), urls); On 2012/10/30 14:41:45, joth wrote: > ...
8 years, 1 month ago (2012-10-30 20:07:33 UTC) #5
joth
nice. lgtm for our needs, but just one question... https://codereview.chromium.org/11232068/diff/13001/chrome/renderer/favicon_helper.cc File chrome/renderer/favicon_helper.cc (right): https://codereview.chromium.org/11232068/diff/13001/chrome/renderer/favicon_helper.cc#newcode81 chrome/renderer/favicon_helper.cc:81: ...
8 years, 1 month ago (2012-10-30 20:22:57 UTC) #6
Cait (Slow)
https://codereview.chromium.org/11232068/diff/13001/chrome/renderer/favicon_helper.cc File chrome/renderer/favicon_helper.cc (right): https://codereview.chromium.org/11232068/diff/13001/chrome/renderer/favicon_helper.cc#newcode81 chrome/renderer/favicon_helper.cc:81: routing_id(), id, image_url, false, image_size, images)); On 2012/10/30 20:22:57, ...
8 years, 1 month ago (2012-10-30 21:39:40 UTC) #7
joth
https://codereview.chromium.org/11232068/diff/18001/chrome/renderer/favicon_helper.cc File chrome/renderer/favicon_helper.cc (right): https://codereview.chromium.org/11232068/diff/18001/chrome/renderer/favicon_helper.cc#newcode81 chrome/renderer/favicon_helper.cc:81: } On 2012/10/30 21:39:40, caitkp wrote: > On 2012/10/30 ...
8 years, 1 month ago (2012-10-30 22:14:02 UTC) #8
Cait (Slow)
https://codereview.chromium.org/11232068/diff/18001/chrome/renderer/favicon_helper.cc File chrome/renderer/favicon_helper.cc (right): https://codereview.chromium.org/11232068/diff/18001/chrome/renderer/favicon_helper.cc#newcode81 chrome/renderer/favicon_helper.cc:81: } Agree. This is easier to follow. On 2012/10/30 ...
8 years, 1 month ago (2012-11-02 19:14:38 UTC) #9
Cait (Slow)
[+joi, for content/components insight] Is the plan for this class to move into the content/components/ ...
8 years, 1 month ago (2012-11-09 17:05:11 UTC) #10
joth
IMO this patch is a good step to land as it is, and will make ...
8 years, 1 month ago (2012-11-09 17:24:47 UTC) #11
Jói
Agreed it should be a separate step. Jonathan is right (or at least, it matches ...
8 years, 1 month ago (2012-11-09 18:37:15 UTC) #12
Cait (Slow)
ping: sky: This CL should be ready for owners' approval now -- thanks! https://codereview.chromium.org/11232068/diff/20001/chrome/renderer/favicon_helper.cc File ...
8 years, 1 month ago (2012-11-14 20:25:55 UTC) #13
sky
LGTM with the following addressed https://codereview.chromium.org/11232068/diff/24002/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/11232068/diff/24002/chrome/renderer/chrome_content_renderer_client.cc#newcode305 chrome/renderer/chrome_content_renderer_client.cc:305: new FaviconHelper(render_view); Add a ...
8 years, 1 month ago (2012-11-15 01:22:17 UTC) #14
Cait (Slow)
https://codereview.chromium.org/11232068/diff/24002/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/11232068/diff/24002/chrome/renderer/chrome_content_renderer_client.cc#newcode305 chrome/renderer/chrome_content_renderer_client.cc:305: new FaviconHelper(render_view); On 2012/11/15 01:22:17, sky wrote: > Add ...
8 years, 1 month ago (2012-11-15 16:25:26 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/11232068/42001
8 years, 1 month ago (2012-11-15 16:26:25 UTC) #16
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 18:25:00 UTC) #17
Change committed as 167965

Powered by Google App Engine
This is Rietveld 408576698