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

Issue 1224293002: Introduce 'url::Origin'. (Closed)

Created:
5 years, 5 months ago by Mike West
Modified:
5 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@url-schemehostport
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce 'url::Origin'. https://docs.google.com/document/d/19NACt9PXOUTJi60klT2ZGcFlgHM5wM1Owtcw2GQOKPI/edit describes the plan. BUG=490074 Committed: https://crrev.com/9f2cc898386458c3fab414666eb205ecb5b88277 Cr-Commit-Position: refs/heads/master@{#339841}

Patch Set 1 #

Total comments: 37

Patch Set 2 : Feedback. #

Total comments: 7

Patch Set 3 : sleevi-feedback #

Total comments: 6

Patch Set 4 : Jochen. #

Total comments: 5

Patch Set 5 : Ryan. #

Patch Set 6 : Nits. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -1 line) Patch
M url/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
A url/origin.h View 1 2 3 4 5 1 chunk +125 lines, -0 lines 1 comment Download
A url/origin.cc View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
A url/origin_unittest.cc View 1 2 3 1 chunk +160 lines, -0 lines 0 comments Download
M url/url.gyp View 1 chunk +2 lines, -1 line 0 comments Download
M url/url_srcs.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
Mike West
WDYT? `url::Origin` strawman... Not entirely sure what to do about `file:`, as we treat it ...
5 years, 5 months ago (2015-07-09 14:37:32 UTC) #2
jochen (gone - plz use gerrit)
On 2015/07/09 at 14:37:32, mkwst wrote: > WDYT? `url::Origin` strawman... > > Not entirely sure ...
5 years, 5 months ago (2015-07-10 08:59:56 UTC) #3
Mike West
On 2015/07/10 at 08:59:56, jochen wrote: > On 2015/07/09 at 14:37:32, mkwst wrote: > > ...
5 years, 5 months ago (2015-07-10 09:17:04 UTC) #4
jochen (gone - plz use gerrit)
On 2015/07/10 at 09:17:04, mkwst wrote: > On 2015/07/10 at 08:59:56, jochen wrote: > > ...
5 years, 5 months ago (2015-07-10 09:26:28 UTC) #5
Mike West
On 2015/07/10 at 09:26:28, jochen wrote: > On 2015/07/10 at 09:17:04, mkwst wrote: > > ...
5 years, 5 months ago (2015-07-10 09:42:39 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/1224293002/diff/1/url/origin.cc File url/origin.cc (right): https://codereview.chromium.org/1224293002/diff/1/url/origin.cc#newcode35 url/origin.cc:35: // to parsing the URL after stripping off the ...
5 years, 5 months ago (2015-07-10 11:59:54 UTC) #7
Mike West
Thanks Ryan. Mind taking another look? (Nasko, Jochen: feel free to poke at it as ...
5 years, 5 months ago (2015-07-17 09:58:10 UTC) #8
Ryan Sleevi
LGTM % nits that will require another CL :/ https://codereview.chromium.org/1224293002/diff/20001/url/origin.h File url/origin.h (right): https://codereview.chromium.org/1224293002/diff/20001/url/origin.h#newcode27 url/origin.h:27: ...
5 years, 5 months ago (2015-07-17 19:48:19 UTC) #9
Mike West
Thanks, Ryan! I'll clean those up. Brett, WDYT?
5 years, 5 months ago (2015-07-17 20:33:39 UTC) #11
jochen (gone - plz use gerrit)
lgtm with comments https://codereview.chromium.org/1224293002/diff/40001/url/origin.h File url/origin.h (right): https://codereview.chromium.org/1224293002/diff/40001/url/origin.h#newcode87 url/origin.h:87: Origin(const GURL& url); explicit? https://codereview.chromium.org/1224293002/diff/40001/url/origin.h#newcode93 url/origin.h:93: ...
5 years, 5 months ago (2015-07-20 08:13:04 UTC) #12
Mike West
Thanks, Jochen! https://codereview.chromium.org/1224293002/diff/20001/url/origin.h File url/origin.h (right): https://codereview.chromium.org/1224293002/diff/20001/url/origin.h#newcode27 url/origin.h:27: // STL;SDR: If you're not working in ...
5 years, 5 months ago (2015-07-20 08:46:11 UTC) #13
Ryan Sleevi
LGTM % nits https://codereview.chromium.org/1224293002/diff/60001/url/origin.cc File url/origin.cc (right): https://codereview.chromium.org/1224293002/diff/60001/url/origin.cc#newcode66 url/origin.cc:66: return out << origin.Serialize().c_str(); Why .c_str()? ...
5 years, 5 months ago (2015-07-20 21:11:43 UTC) #14
Mike West
Friendly ping, Brett. :)
5 years, 5 months ago (2015-07-21 03:58:27 UTC) #15
brettw
LGTM with nits. https://codereview.chromium.org/1224293002/diff/60001/url/origin.cc File url/origin.cc (right): https://codereview.chromium.org/1224293002/diff/60001/url/origin.cc#newcode24 url/origin.cc:24: return; Indenting. https://codereview.chromium.org/1224293002/diff/60001/url/origin.h File url/origin.h (right): ...
5 years, 5 months ago (2015-07-21 21:27:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224293002/100001
5 years, 5 months ago (2015-07-22 04:40:50 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-22 06:03:35 UTC) #20
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/9f2cc898386458c3fab414666eb205ecb5b88277 Cr-Commit-Position: refs/heads/master@{#339841}
5 years, 5 months ago (2015-07-22 06:04:05 UTC) #21
nasko
5 years, 5 months ago (2015-07-22 12:51:19 UTC) #22
Message was sent while issue was closed.
Sorry for the late reply here. Just one nit on a drive-by review.

https://codereview.chromium.org/1224293002/diff/100001/url/origin.h
File url/origin.h (right):

https://codereview.chromium.org/1224293002/diff/100001/url/origin.h#newcode109
url/origin.h:109: // Allows SchemeHostPort to used as a key in STL (for example,
a std::set or
nit: s/SchemeHostPort/Origin/?

Powered by Google App Engine
This is Rietveld 408576698