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

Issue 115346: Convert Punycode domains to Unicode in URLs shown in the followings:... (Closed)

Created:
11 years, 7 months ago by tkent
Modified:
4 years, 4 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Shows Unicode IDN instead of Punycode in the followings: - Bookmark Manager - Edit Bookmark dialog opened by Bookmark Manager - Edit Bookmark dialog opened by the star on the left of the address bar Introduces new function, net::FormatUrl(), which has the following parameters in addition to gfx::GetCleanStringFromUrl(). - bool omit_username_password - bool unescape and moves gfx::GetClienStringFromUrl() to net:: namespace, and removed the last two parameters. BUG=3991

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 9

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+381 lines, -168 lines) Patch
M app/gfx/text_elider.h View 6 7 8 9 10 1 chunk +0 lines, -15 lines 0 comments Download
M app/gfx/text_elider.cc View 6 7 8 9 10 3 chunks +5 lines, -131 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete.cc View 10 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider.cc View 10 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_table_model.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/net/url_fixer_upper.cc View 10 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry.cc View 10 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/toolbar_model.cc View 10 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/views/bookmark_editor_view.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -1 line 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 10 2 chunks +33 lines, -0 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 10 2 chunks +144 lines, -0 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 4 5 10 2 chunks +164 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tkent_google.com
11 years, 7 months ago (2009-05-14 10:47:41 UTC) #1
jungshik at Google
lgtm with a minor issue below taken care of. http://codereview.chromium.org/115346/diff/1012/17 File net/base/net_util_unittest.cc (right): http://codereview.chromium.org/115346/diff/1012/17#newcode701 Line ...
11 years, 7 months ago (2009-05-14 21:31:13 UTC) #2
tkent_google.com
Thanks for reviewing. Would you submit this if it is ok, please? http://codereview.chromium.org/115346/diff/1012/17 File net/base/net_util_unittest.cc ...
11 years, 7 months ago (2009-05-15 01:24:09 UTC) #3
tkent_google.com
The patch is conflicting. I'm resolving it now.
11 years, 7 months ago (2009-05-15 01:32:42 UTC) #4
tkent_google.com
On 2009/05/15 01:32:42, Kent wrote: > The patch is conflicting. I'm resolving it now. The ...
11 years, 7 months ago (2009-05-15 04:31:49 UTC) #5
jungshik at Google
Brett, are you ok with this CL? Then, I'll land it on Kent's behalf. On ...
11 years, 7 months ago (2009-05-17 21:59:22 UTC) #6
brettw
I think the relationship between this an GetCleanStringFromUrl is very confusing. If they do the ...
11 years, 7 months ago (2009-05-17 23:12:15 UTC) #7
tkent_google.com
The patch merging GetClearStringFromUrl() and AppendDiaplayURL() is ready. Would you review it please?
11 years, 7 months ago (2009-05-18 10:39:42 UTC) #8
tkent_google.com
I moved the main implementation to net:: namespace, and modified all of callers. Would you ...
11 years, 7 months ago (2009-05-19 06:11:58 UTC) #9
brettw
Thanks, this is the reorganization I was looking for. I have some more comments, but ...
11 years, 7 months ago (2009-05-19 17:26:32 UTC) #10
tkent_google.com
Thanks for the review. http://codereview.chromium.org/115346/diff/69/1055 File net/base/net_util.h (right): http://codereview.chromium.org/115346/diff/69/1055#newcode180 Line 180: // omitted. If |unescape| ...
11 years, 7 months ago (2009-05-20 02:32:27 UTC) #11
brettw
11 years, 7 months ago (2009-05-20 22:34:34 UTC) #12
LGTM! Thanks for putting up with this long review.

Powered by Google App Engine
This is Rietveld 408576698