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

Issue 2714813003: Add an identity component for unique/opaque url::Origins.

Created:
3 years, 10 months ago by dcheng
Modified:
3 years, 10 months ago
CC:
alexmos, chromium-reviews, Charlie Reis, estark, iclelland, jochen (gone - plz use gerrit), juncai, ncarter (slow), raymes, Charlie Harrison
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an identity component for unique/opaque url::Origins. BUG=many

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : Switch to base::UnguessableToken, add to SecurityOrigin. No conversions yet. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -38 lines) Patch
M third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M url/origin.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M url/origin.cc View 1 2 7 chunks +30 lines, -12 lines 0 comments Download
M url/origin_unittest.cc View 1 2 7 chunks +71 lines, -22 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
dcheng
Good idea, terrible idea? I tried to union it originally to save space, but that ...
3 years, 10 months ago (2017-02-23 23:18:14 UTC) #2
dcheng
+juncai, +ortuno as well I need to update this CL, but with tweaks to operator<, ...
3 years, 10 months ago (2017-02-23 23:26:12 UTC) #3
ortuno
On 2017/02/23 at 23:26:12, dcheng wrote: > +juncai, +ortuno as well > > I need ...
3 years, 10 months ago (2017-02-23 23:42:25 UTC) #4
ortuno
On 2017/02/23 at 23:42:25, ortuno wrote: > On 2017/02/23 at 23:26:12, dcheng wrote: > > ...
3 years, 10 months ago (2017-02-24 01:59:01 UTC) #5
palmer
If possible, include a few actual bugs in the BUGS= line. It'd be good to ...
3 years, 10 months ago (2017-02-24 02:03:03 UTC) #6
dcheng
On 2017/02/24 01:59:01, ortuno wrote: > On 2017/02/23 at 23:42:25, ortuno wrote: > > On ...
3 years, 10 months ago (2017-02-24 02:41:48 UTC) #7
Mike West
I like the direction, but I'm a bit concerned about the implementation as it seems ...
3 years, 10 months ago (2017-02-24 07:58:50 UTC) #8
Mike West
Also, +iclelland@, whose https://codereview.chromium.org/2714813003 might be obviated by this change.
3 years, 10 months ago (2017-02-24 07:59:29 UTC) #10
dcheng
On 2017/02/24 07:58:50, Mike West (sloooooow) wrote: > I like the direction, but I'm a ...
3 years, 10 months ago (2017-02-24 08:19:30 UTC) #11
Mike West
On 2017/02/24 at 08:19:30, dcheng wrote: > On 2017/02/24 07:58:50, Mike West (sloooooow) wrote: > ...
3 years, 10 months ago (2017-02-24 08:29:26 UTC) #12
dcheng
On 2017/02/24 08:29:26, Mike West (sloooooow) wrote: > On 2017/02/24 at 08:19:30, dcheng wrote: > ...
3 years, 10 months ago (2017-02-24 08:33:29 UTC) #13
Mike West
On 2017/02/24 at 08:33:29, dcheng wrote: > I /think/ it might be easier to bring ...
3 years, 10 months ago (2017-02-24 08:40:43 UTC) #14
dcheng
On 2017/02/24 08:40:43, Mike West (sloooooow) wrote: > On 2017/02/24 at 08:33:29, dcheng wrote: > ...
3 years, 10 months ago (2017-02-24 08:48:46 UTC) #15
Charlie Harrison
3 years, 10 months ago (2017-02-24 12:57:48 UTC) #17
Making conversions fast is pretty important to me, especially if we care about
making tons of resource requests.

Note that we also do Origin->GURL conversions which aren't super cheap either,
so I was actually considering making Origin / SecurityOrigin both do a
url::Parsed thing, so we don't have to build up a std::string using append for
Origin->GURL conversion.

Powered by Google App Engine
This is Rietveld 408576698