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

Issue 9852012: Fix favicon exact match logic and add test. (Closed)

Created:
8 years, 9 months ago by stevenjb
Modified:
8 years, 9 months ago
Reviewers:
DaveMoore, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Fix favicon exact match logic and add test. BUG=119437 TEST=unit_tests pass + see issue. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128851

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix url fragment logic #

Total comments: 2

Patch Set 3 : Use GURL::ReplaceComponents #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -23 lines) Patch
M chrome/browser/favicon/favicon_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 1 2 5 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 2 chunks +81 lines, -19 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
stevenjb
http://codereview.chromium.org/9852012/diff/1/chrome/browser/favicon/favicon_handler.cc File chrome/browser/favicon/favicon_handler.cc (right): http://codereview.chromium.org/9852012/diff/1/chrome/browser/favicon/favicon_handler.cc#newcode56 chrome/browser/favicon/favicon_handler.cc:56: return a.substr(0, a.rfind('#')) == b.substr(0, b.rfind('#')); This addresses a ...
8 years, 9 months ago (2012-03-24 19:07:55 UTC) #1
stevenjb
8 years, 9 months ago (2012-03-24 23:49:25 UTC) #2
sky
http://codereview.chromium.org/9852012/diff/1/chrome/browser/favicon/favicon_handler.cc File chrome/browser/favicon/favicon_handler.cc (right): http://codereview.chromium.org/9852012/diff/1/chrome/browser/favicon/favicon_handler.cc#newcode56 chrome/browser/favicon/favicon_handler.cc:56: return a.substr(0, a.rfind('#')) == b.substr(0, b.rfind('#')); On 2012/03/24 19:07:56, ...
8 years, 9 months ago (2012-03-25 03:59:23 UTC) #3
stevenjb
http://codereview.chromium.org/9852012/diff/1/chrome/browser/favicon/favicon_handler.cc File chrome/browser/favicon/favicon_handler.cc (right): http://codereview.chromium.org/9852012/diff/1/chrome/browser/favicon/favicon_handler.cc#newcode56 chrome/browser/favicon/favicon_handler.cc:56: return a.substr(0, a.rfind('#')) == b.substr(0, b.rfind('#')); On 2012/03/25 03:59:23, ...
8 years, 9 months ago (2012-03-25 18:38:22 UTC) #4
sky
http://codereview.chromium.org/9852012/diff/3001/chrome/browser/favicon/favicon_handler.cc File chrome/browser/favicon/favicon_handler.cc (right): http://codereview.chromium.org/9852012/diff/3001/chrome/browser/favicon/favicon_handler.cc#newcode53 chrome/browser/favicon/favicon_handler.cc:53: std::string url = gurl.spec(); I believe you want ReplaceComponents.
8 years, 9 months ago (2012-03-25 18:46:46 UTC) #5
stevenjb
http://codereview.chromium.org/9852012/diff/3001/chrome/browser/favicon/favicon_handler.cc File chrome/browser/favicon/favicon_handler.cc (right): http://codereview.chromium.org/9852012/diff/3001/chrome/browser/favicon/favicon_handler.cc#newcode53 chrome/browser/favicon/favicon_handler.cc:53: std::string url = gurl.spec(); On 2012/03/25 18:46:46, sky wrote: ...
8 years, 9 months ago (2012-03-25 22:00:15 UTC) #6
sky
LGTM
8 years, 9 months ago (2012-03-25 22:48:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/9852012/3003
8 years, 9 months ago (2012-03-26 00:13:07 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-26 01:43:14 UTC) #9
Change committed as 128851

Powered by Google App Engine
This is Rietveld 408576698