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

Issue 6651014: Applied the IconType. (Closed)

Created:
9 years, 9 months ago by michaelbai
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

Populated the IconType in FavIconService. Changed the FavIconService callback to have the IconType parameter. Changed the callers to use FAV_ICON as default type BUG=71571 TEST=Tested with existing unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78383

Patch Set 1 #

Total comments: 28

Patch Set 2 : Fixed the code style issues #

Patch Set 3 : Added FaviconData struct #

Patch Set 4 : removed the callback6 #

Total comments: 20

Patch Set 5 : Address the comments #

Total comments: 4

Patch Set 6 : Addressed the comments #

Total comments: 6

Patch Set 7 : Address the issue and Sync with the code #

Patch Set 8 : Fix Windows build error. #

Patch Set 9 : Fix mac build issue. #

Patch Set 10 : Sync again #

Patch Set 11 : Sync again #

Patch Set 12 : sync #

Patch Set 13 : Sync and ready to commit #

Patch Set 14 : sync #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -208 lines) Patch
M chrome/browser/bookmarks/bookmark_html_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -9 lines 1 comment Download
M chrome/browser/custom_home_pages_table_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/custom_home_pages_table_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_web_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/favicon_helper.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/favicon_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +22 lines, -23 lines 0 comments Download
M chrome/browser/favicon_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +19 lines, -15 lines 0 comments Download
M chrome/browser/favicon_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/history/history.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/history/history.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +11 lines, -7 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +16 lines, -22 lines 0 comments Download
M chrome/browser/history/history_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/history/history_types.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/jumplist_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/jumplist_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/possible_url_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/possible_url_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/history_menu_bridge.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/history_menu_bridge.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/search_engines/template_url_table_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/extension_icon_source.h View 1 2 3 4 5 6 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/ui/webui/extension_icon_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/favicon_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/ui/webui/favicon_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -6 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/webui/web_ui_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
michaelbai
A simple cl, please review it.
9 years, 9 months ago (2011-03-09 02:08:51 UTC) #1
sky
http://codereview.chromium.org/6651014/diff/1/chrome/browser/bookmarks/bookmark_html_writer.cc File chrome/browser/bookmarks/bookmark_html_writer.cc (right): http://codereview.chromium.org/6651014/diff/1/chrome/browser/bookmarks/bookmark_html_writer.cc#newcode443 chrome/browser/bookmarks/bookmark_html_writer.cc:443: GURL(url), Generally folks put as many args on a ...
9 years, 9 months ago (2011-03-09 21:41:07 UTC) #2
michaelbai
Went through the whole CL and fixed the common style issues. Just one thing, I ...
9 years, 9 months ago (2011-03-09 23:11:45 UTC) #3
sky
http://codereview.chromium.org/6651014/diff/1/chrome/browser/favicon_service.h File chrome/browser/favicon_service.h (right): http://codereview.chromium.org/6651014/diff/1/chrome/browser/favicon_service.h#newcode41 chrome/browser/favicon_service.h:41: typedef Callback6<Handle, // handle On 2011/03/09 23:11:45, michaelbai wrote: ...
9 years, 9 months ago (2011-03-09 23:34:52 UTC) #4
michaelbai
Add new struct, please review it.
9 years, 9 months ago (2011-03-10 01:24:32 UTC) #5
sky
http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h File chrome/browser/favicon_service.h (right): http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h#newcode31 chrome/browser/favicon_service.h:31: struct FaviconData { Put this in history_types http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h#newcode62 chrome/browser/favicon_service.h:62: ...
9 years, 9 months ago (2011-03-10 17:54:44 UTC) #6
michaelbai
On 2011/03/10 17:54:44, sky wrote: > http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h > File chrome/browser/favicon_service.h (right): > > http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h#newcode31 > ...
9 years, 9 months ago (2011-03-10 19:52:06 UTC) #7
michaelbai
Addressed all comments, please check it again http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h File chrome/browser/favicon_service.h (right): http://codereview.chromium.org/6651014/diff/7004/chrome/browser/favicon_service.h#newcode31 chrome/browser/favicon_service.h:31: struct FaviconData ...
9 years, 9 months ago (2011-03-11 01:11:28 UTC) #8
sky
http://codereview.chromium.org/6651014/diff/7004/chrome/browser/history/history_backend.cc File chrome/browser/history/history_backend.cc (right): http://codereview.chromium.org/6651014/diff/7004/chrome/browser/history/history_backend.cc#newcode1714 chrome/browser/history/history_backend.cc:1714: scoped_refptr<RefCountedBytes> data; On 2011/03/11 01:11:28, michaelbai wrote: > On ...
9 years, 9 months ago (2011-03-11 01:19:26 UTC) #9
michaelbai
Please check again. http://codereview.chromium.org/6651014/diff/7004/chrome/browser/history/history_backend.cc File chrome/browser/history/history_backend.cc (right): http://codereview.chromium.org/6651014/diff/7004/chrome/browser/history/history_backend.cc#newcode1714 chrome/browser/history/history_backend.cc:1714: scoped_refptr<RefCountedBytes> data; On 2011/03/11 01:19:26, sky ...
9 years, 9 months ago (2011-03-11 16:56:19 UTC) #10
sky
LGTM with the following changes. As I said, I would love to see the callback ...
9 years, 9 months ago (2011-03-11 17:56:45 UTC) #11
Avi (use Gerrit)
9 years, 9 months ago (2011-03-16 17:48:36 UTC) #12
http://codereview.chromium.org/6651014/diff/13004/chrome/browser/bookmarks/bo...
File chrome/browser/bookmarks/bookmark_model.cc (right):

http://codereview.chromium.org/6651014/diff/13004/chrome/browser/bookmarks/bo...
chrome/browser/bookmarks/bookmark_model.cc:740: SkBitmap fav_icon;
FYI, it's favicon, not fav_icon. See crbug.com/76073. I'll fix.

Powered by Google App Engine
This is Rietveld 408576698