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

Issue 1169173005: Omnibox - Mark As Duplicates URLs that only differ by a trailing slash (Closed)

Created:
5 years, 6 months ago by Mark P
Modified:
5 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Omnibox - Mark As Duplicates URLs that only differ by a trailing slash Make the stripped URL always end the path component in a trailing slash. BUG=490084 Committed: https://crrev.com/86d6ea9832f60721adc36a3372b51016947dfcb2 Cr-Commit-Position: refs/heads/master@{#334238}

Patch Set 1 #

Patch Set 2 : finally works #

Total comments: 7

Patch Set 3 : peter's minor comments #

Patch Set 4 : mac has no std::string.back() #

Patch Set 5 : peter's optimizations #

Total comments: 10

Patch Set 6 : minor improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -10 lines) Patch
M components/omnibox/autocomplete_match.h View 1 2 3 4 5 2 chunks +10 lines, -10 lines 0 comments Download
M components/omnibox/autocomplete_match.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M components/omnibox/autocomplete_match_unittest.cc View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Mark P
Hi Peter, Please take a look. thanks, mark
5 years, 6 months ago (2015-06-11 21:42:29 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Add a trailing slash if the path ...
5 years, 6 months ago (2015-06-11 23:05:37 UTC) #3
Mark P
https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Add a trailing slash if the path does ...
5 years, 6 months ago (2015-06-12 17:25:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1169173005/40001
5 years, 6 months ago (2015-06-12 17:27:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/63083)
5 years, 6 months ago (2015-06-12 17:48:08 UTC) #9
Peter Kasting
https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Add a trailing slash if the path does ...
5 years, 6 months ago (2015-06-12 17:49:04 UTC) #10
Mark P
https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Add a trailing slash if the path does ...
5 years, 6 months ago (2015-06-12 18:05:00 UTC) #11
Peter Kasting
https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Add a trailing slash if the path does ...
5 years, 6 months ago (2015-06-12 18:25:37 UTC) #12
Mark P
On 2015/06/12 18:25:37, Peter Kasting wrote: > https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc > File components/omnibox/autocomplete_match.cc (right): > > https://codereview.chromium.org/1169173005/diff/20001/components/omnibox/autocomplete_match.cc#newcode418 ...
5 years, 6 months ago (2015-06-12 18:41:07 UTC) #13
Peter Kasting
On 2015/06/12 18:41:07, Mark P wrote: > On 2015/06/12 18:25:37, Peter Kasting wrote: > > ...
5 years, 6 months ago (2015-06-12 18:44:35 UTC) #14
Mark P
Ah, this looks fairly good. It seems to work. Let me know what you think. ...
5 years, 6 months ago (2015-06-12 19:17:43 UTC) #15
Peter Kasting
LGTM https://codereview.chromium.org/1169173005/diff/80001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/80001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Remove the trailing slash if any (if ...
5 years, 6 months ago (2015-06-12 19:30:36 UTC) #16
Mark P
https://codereview.chromium.org/1169173005/diff/80001/components/omnibox/autocomplete_match.cc File components/omnibox/autocomplete_match.cc (right): https://codereview.chromium.org/1169173005/diff/80001/components/omnibox/autocomplete_match.cc#newcode418 components/omnibox/autocomplete_match.cc:418: // Remove the trailing slash if any (if it's ...
5 years, 6 months ago (2015-06-12 19:57:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1169173005/100001
5 years, 6 months ago (2015-06-12 19:58:31 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-12 21:18:26 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-12 21:19:26 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/86d6ea9832f60721adc36a3372b51016947dfcb2
Cr-Commit-Position: refs/heads/master@{#334238}

Powered by Google App Engine
This is Rietveld 408576698