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

Issue 8469018: Provide assumed favicon for intents if service provider page was never visited. (Closed)

Created:
9 years, 1 month ago by groby-ooo-7-16
Modified:
9 years, 1 month ago
Reviewers:
sky, Greg Billock
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Provide assumed favicon for intents if page was never visited. If the service_url has never been visited, the IntentsPicker used to show a default icon. This change will instead associate the favicon of the registration page with the service_url page. BUG=99784 TEST=Start with clean browser install. Run with --enable-web-intents, register a provider from webintents.org. Start picker, it should show WI favicon. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110662

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed review issues. Fixed merge issues due to MaybeShowIntentInfoBar #

Total comments: 2

Patch Set 3 : Don't use COUNT(*) for existence test #

Total comments: 5

Patch Set 4 : Address review issues #

Total comments: 4

Patch Set 5 : Fix review nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -11 lines) Patch
M chrome/browser/favicon/favicon_service.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_service.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/history/history.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/history/history.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/browser/history/thumbnail_database.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/history/thumbnail_database.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/history/thumbnail_database_unittest.cc View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/browser/intents/register_intent_handler_infobar_delegate.h View 1 2 4 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/intents/register_intent_handler_infobar_delegate.cc View 1 5 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
groby-ooo-7-16
brettw: Please review Favicon/History/Thumbnail changes jhawkins: Please look at intents/browser changes
9 years, 1 month ago (2011-11-10 23:57:31 UTC) #1
groby-ooo-7-16
gbillock: You're the new jhawkins :) (I.e. please review)
9 years, 1 month ago (2011-11-11 00:33:34 UTC) #2
Greg Billock
http://codereview.chromium.org/8469018/diff/1/chrome/browser/favicon/favicon_service.h File chrome/browser/favicon/favicon_service.h (right): http://codereview.chromium.org/8469018/diff/1/chrome/browser/favicon/favicon_service.h#newcode85 chrome/browser/favicon/favicon_service.h:85: // Clone a Favicon from an existing page. Needed ...
9 years, 1 month ago (2011-11-11 17:47:56 UTC) #3
groby-ooo-7-16
http://codereview.chromium.org/8469018/diff/1/chrome/browser/favicon/favicon_service.h File chrome/browser/favicon/favicon_service.h (right): http://codereview.chromium.org/8469018/diff/1/chrome/browser/favicon/favicon_service.h#newcode85 chrome/browser/favicon/favicon_service.h:85: // Clone a Favicon from an existing page. Needed ...
9 years, 1 month ago (2011-11-14 23:53:36 UTC) #4
brettw
http://codereview.chromium.org/8469018/diff/8001/chrome/browser/history/thumbnail_database.cc File chrome/browser/history/thumbnail_database.cc (right): http://codereview.chromium.org/8469018/diff/8001/chrome/browser/history/thumbnail_database.cc#newcode551 chrome/browser/history/thumbnail_database.cc:551: "SELECT COUNT(*) FROM icon_mapping " I'm not doing real ...
9 years, 1 month ago (2011-11-15 00:02:42 UTC) #5
groby-ooo-7-16
sky: since brettw is on leave, mind taking a look? http://codereview.chromium.org/8469018/diff/8001/chrome/browser/history/thumbnail_database.cc File chrome/browser/history/thumbnail_database.cc (right): http://codereview.chromium.org/8469018/diff/8001/chrome/browser/history/thumbnail_database.cc#newcode551 ...
9 years, 1 month ago (2011-11-16 00:31:39 UTC) #6
sky
http://codereview.chromium.org/8469018/diff/13001/chrome/browser/favicon/favicon_service.h File chrome/browser/favicon/favicon_service.h (right): http://codereview.chromium.org/8469018/diff/13001/chrome/browser/favicon/favicon_service.h#newcode85 chrome/browser/favicon/favicon_service.h:85: // Clone a favicon from an existing page. This ...
9 years, 1 month ago (2011-11-16 17:26:00 UTC) #7
groby-ooo-7-16
http://codereview.chromium.org/8469018/diff/13001/chrome/browser/favicon/favicon_service.h File chrome/browser/favicon/favicon_service.h (right): http://codereview.chromium.org/8469018/diff/13001/chrome/browser/favicon/favicon_service.h#newcode85 chrome/browser/favicon/favicon_service.h:85: // Clone a favicon from an existing page. This ...
9 years, 1 month ago (2011-11-17 00:37:55 UTC) #8
sky
LGTM http://codereview.chromium.org/8469018/diff/13001/chrome/browser/favicon/favicon_service.h File chrome/browser/favicon/favicon_service.h (right): http://codereview.chromium.org/8469018/diff/13001/chrome/browser/favicon/favicon_service.h#newcode90 chrome/browser/favicon/favicon_service.h:90: void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url); On ...
9 years, 1 month ago (2011-11-17 04:49:01 UTC) #9
groby-ooo-7-16
http://codereview.chromium.org/8469018/diff/18001/chrome/browser/history/history_backend_unittest.cc File chrome/browser/history/history_backend_unittest.cc (right): http://codereview.chromium.org/8469018/diff/18001/chrome/browser/history/history_backend_unittest.cc#newcode1143 chrome/browser/history/history_backend_unittest.cc:1143: On 2011/11/17 04:49:01, sky wrote: > nit: remove one ...
9 years, 1 month ago (2011-11-18 01:11:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/8469018/22001
9 years, 1 month ago (2011-11-18 04:07:48 UTC) #11
commit-bot: I haz the power
9 years, 1 month ago (2011-11-18 05:50:18 UTC) #12
Change committed as 110662

Powered by Google App Engine
This is Rietveld 408576698