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

Issue 13190020: Omnibox: Don't Promote Intranet Hostnames Pound Sign Space Whatever ("c# foo") (Closed)

Created:
7 years, 8 months ago by Mark P
Modified:
7 years, 8 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Omnibox: Don't Promote Intranet Hostnames Pound Sign Space Whatever ("c# foo") Suppose you have an intranet hostname "c" that you've previously visited. After this change, the behavior will be as follows: input -> inline suggestion (what happens what you hit return) c -> navigate to URL c/ -> navigate to URL c#foo -> search (this behavior differs from before this change) c# foo -> search (this behavior differs from before this change) c# foo -> search (this behavior differs from before this change) c# -> search (this behavior differs from before this change) c# -> search (this behavior differs from before this change) (notice the extra spaces the URL parser drops them) c/#foo -> navigate to URL BUG=169449 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192615

Patch Set 1 #

Patch Set 2 : fix 'c#' and 'c# ' and 'c#foo' #

Total comments: 8

Patch Set 3 : Peter's comments #

Total comments: 12

Patch Set 4 : ahhh, comments. #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -14 lines) Patch
M chrome/browser/autocomplete/history_url_provider.cc View 1 2 3 1 chunk +33 lines, -7 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider_unittest.cc View 1 3 chunks +61 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mark P
Please take a look. Also, what do you think we should do for "c#" itself? ...
7 years, 8 months ago (2013-04-01 23:55:40 UTC) #1
Peter Kasting
On 2013/04/01 23:55:40, Mark P wrote: > Please take a look. > > Also, what ...
7 years, 8 months ago (2013-04-02 21:05:46 UTC) #2
Mark P
On 2013/04/02 21:05:46, Peter Kasting wrote: > On 2013/04/01 23:55:40, Mark P wrote: > > ...
7 years, 8 months ago (2013-04-02 23:07:50 UTC) #3
Peter Kasting
https://codereview.chromium.org/13190020/diff/4001/chrome/browser/autocomplete/history_url_provider.cc File chrome/browser/autocomplete/history_url_provider.cc (right): https://codereview.chromium.org/13190020/diff/4001/chrome/browser/autocomplete/history_url_provider.cc#newcode750 chrome/browser/autocomplete/history_url_provider.cc:750: false) == 0) && Why do we have to ...
7 years, 8 months ago (2013-04-03 00:21:29 UTC) #4
Mark P
Revised as suggested. Please take another look. --mark https://codereview.chromium.org/13190020/diff/4001/chrome/browser/autocomplete/history_url_provider.cc File chrome/browser/autocomplete/history_url_provider.cc (right): https://codereview.chromium.org/13190020/diff/4001/chrome/browser/autocomplete/history_url_provider.cc#newcode750 chrome/browser/autocomplete/history_url_provider.cc:750: false) ...
7 years, 8 months ago (2013-04-03 16:08:01 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/13190020/diff/7001/chrome/browser/autocomplete/history_url_provider.cc File chrome/browser/autocomplete/history_url_provider.cc (right): https://codereview.chromium.org/13190020/diff/7001/chrome/browser/autocomplete/history_url_provider.cc#newcode749 chrome/browser/autocomplete/history_url_provider.cc:749: // result be a search query from SearchProvider. ...
7 years, 8 months ago (2013-04-03 21:43:49 UTC) #6
Mark P
https://codereview.chromium.org/13190020/diff/7001/chrome/browser/autocomplete/history_url_provider.cc File chrome/browser/autocomplete/history_url_provider.cc (right): https://codereview.chromium.org/13190020/diff/7001/chrome/browser/autocomplete/history_url_provider.cc#newcode749 chrome/browser/autocomplete/history_url_provider.cc:749: // result be a search query from SearchProvider. This ...
7 years, 8 months ago (2013-04-03 22:58:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/13190020/15001
7 years, 8 months ago (2013-04-05 14:45:40 UTC) #8
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 19:54:13 UTC) #9
Message was sent while issue was closed.
Change committed as 192615

Powered by Google App Engine
This is Rietveld 408576698