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

Issue 532523002: Create net::FormatOriginForDisplay helper function (Closed)

Created:
6 years, 3 months ago by felt
Modified:
5 years, 7 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, jshin+watch_chromium.org, dewittj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Create net::FormatOriginForDisplay helper function net::FormatOriginForDisplay provides a canonical, security-friendly display for origins. It's meant to be used for permission strings and other security UI. BUG=402698

Patch Set 1 #

Patch Set 2 : With replacements #

Patch Set 3 : Switched to avoid expensive GURL operation #

Patch Set 4 : Need to compute offset better #

Patch Set 5 : Cleaned up comments #

Patch Set 6 : Accidentally killed newline at EOF #

Patch Set 7 : Another newline EOF fix... #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -22 lines) Patch
M net/base/net_util.h View 1 2 3 4 5 2 chunks +19 lines, -0 lines 6 comments Download
M net/base/net_util_icu.cc View 1 2 3 4 5 6 5 chunks +46 lines, -22 lines 1 comment Download
M net/base/net_util_icu_unittest.cc View 1 2 3 4 2 chunks +55 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (2 generated)
Ryan Sleevi
Why is the port stripping necessary? Previously it was established that GURL does this when ...
6 years, 3 months ago (2014-09-01 18:22:41 UTC) #3
felt
On 2014/09/01 18:20:55, felt wrote: > mailto:felt@chromium.org changed reviewers: > + mailto:palmer@chromium.org, mailto:rsleevi@chromium.org palmer, rsleevi: ...
6 years, 3 months ago (2014-09-01 18:23:40 UTC) #4
felt
On 2014/09/01 18:22:41, Ryan Sleevi wrote: > Why is the port stripping necessary? Previously it ...
6 years, 3 months ago (2014-09-01 18:30:30 UTC) #5
felt
On 2014/09/01 18:30:30, felt wrote: > On 2014/09/01 18:22:41, Ryan Sleevi wrote: > > Why ...
6 years, 3 months ago (2014-09-01 18:32:15 UTC) #6
Ryan Sleevi
On 2014/09/01 18:30:30, felt wrote: > On 2014/09/01 18:22:41, Ryan Sleevi wrote: > > Why ...
6 years, 3 months ago (2014-09-01 18:35:35 UTC) #7
felt
On 2014/09/01 18:35:35, Ryan Sleevi wrote: > On 2014/09/01 18:30:30, felt wrote: > > On ...
6 years, 3 months ago (2014-09-01 18:40:13 UTC) #8
felt
On 2014/09/01 18:35:35, Ryan Sleevi wrote: > On 2014/09/01 18:30:30, felt wrote: > > On ...
6 years, 3 months ago (2014-09-01 18:40:14 UTC) #9
Michael van Ouwerkerk
https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h#newcode355 net/base/net_util.h:355: // - By default, the scheme is only displayed ...
6 years, 3 months ago (2014-09-02 13:10:47 UTC) #10
felt
On 2014/09/02 13:10:47, Michael van Ouwerkerk wrote: > https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h > File net/base/net_util.h (right): > > ...
6 years, 3 months ago (2014-09-02 14:01:24 UTC) #11
Michael van Ouwerkerk
On 2014/09/02 14:01:24, felt wrote: > On 2014/09/02 13:10:47, Michael van Ouwerkerk wrote: > > ...
6 years, 3 months ago (2014-09-02 14:09:38 UTC) #12
felt
On 2014/09/02 14:09:38, Michael van Ouwerkerk wrote: > On 2014/09/02 14:01:24, felt wrote: > > ...
6 years, 3 months ago (2014-09-02 14:14:18 UTC) #13
palmer
I think we should show not just text, but some kind of View object (call ...
6 years, 3 months ago (2014-09-02 19:11:49 UTC) #14
Ryan Sleevi
Not trying to be a pain in the butt, still just pushing back to make ...
6 years, 3 months ago (2014-09-02 19:26:17 UTC) #15
felt
https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h#newcode350 net/base/net_util.h:350: // in security UI: infobars, permission strings, etc. Use ...
6 years, 3 months ago (2014-09-15 05:42:30 UTC) #16
felt
https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h#newcode350 net/base/net_util.h:350: // in security UI: infobars, permission strings, etc. Use ...
6 years, 3 months ago (2014-09-15 22:47:55 UTC) #17
Ryan Sleevi
On 2014/09/15 22:47:55, felt wrote: > https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h > File net/base/net_util.h (right): > > https://codereview.chromium.org/532523002/diff/110001/net/base/net_util.h#newcode350 > ...
6 years, 3 months ago (2014-09-15 23:33:08 UTC) #18
Ryan Sleevi
Is this a dead CL? Did you want to still poke on this? Shall we ...
5 years, 7 months ago (2015-05-07 01:11:40 UTC) #19
felt
On 2015/05/07 01:11:40, Ryan Sleevi wrote: > Is this a dead CL? Did you want ...
5 years, 7 months ago (2015-05-07 01:16:08 UTC) #20
Ryan Sleevi
I'm assuming you meant to copy palmer@ before asking him a question, since uh... he ...
5 years, 7 months ago (2015-05-08 00:15:45 UTC) #21
felt
On 2015/05/08 00:15:45, Ryan Sleevi wrote: > I'm assuming you meant to copy palmer@ before ...
5 years, 7 months ago (2015-05-08 00:16:35 UTC) #22
palmer
5 years, 7 months ago (2015-05-08 17:39:02 UTC) #23
> palmer -- am I correct in thinking that I should close this, and you're taking
> over it?

If you like, go ahead and re-assign the bug to me. (Please don't delete this CL;
I'd likely use it for reference.)

Powered by Google App Engine
This is Rietveld 408576698