Add support for real full filesystem URL parsing and canonicalization.
See also the chromium [http://codereview.chromium.org/7811006/] and webkit [http://codereview.chromium.org/8856006/] changes that will depend on this.
http://codereview.appspot.com/4961060/diff/28001/src/gurl.h File src/gurl.h (right): http://codereview.appspot.com/4961060/diff/28001/src/gurl.h#newcode382 src/gurl.h:382: GURL* inner_url_; Should this be a scoped_ptr?
13 years, 1 month ago
(2011-11-16 22:02:43 UTC)
#1
http://codereview.appspot.com/4961060/diff/28001/src/gurl.h File src/gurl.h (right): http://codereview.appspot.com/4961060/diff/28001/src/gurl.h#newcode382 src/gurl.h:382: GURL* inner_url_; On 2011/11/16 22:02:43, abarth wrote: > Should ...
13 years, 1 month ago
(2011-11-16 22:13:36 UTC)
#2
http://codereview.appspot.com/4961060/diff/28001/src/gurl.h
File src/gurl.h (right):
http://codereview.appspot.com/4961060/diff/28001/src/gurl.h#newcode382
src/gurl.h:382: GURL* inner_url_;
On 2011/11/16 22:02:43, abarth wrote:
> Should this be a scoped_ptr?
I was wondering about that myself. I'd love to use one, but googleurl doesn't
use them anywhere, so I wanted to ask Brett if that was a style choice or just
that it hadn't needed any. I see that scoped_ptr.h is in the repo, but it's
only used in logging code in base, not in the src directory.
On 2011/11/17 01:16:37, abarth wrote:
> I'll defer to Brett here, but I suspect it's fine.
Making that be a scoped_ptr requires adding an include of scoped_ptr.h in the
header file. That grabs both the one in this repo and the one in Chromium's
repo [when you build Chromium], which causes an explosion. I'm going to leave
it as a raw pointer for now.
On Thu, Dec 22, 2011 at 11:18 AM, <brettw@chromium.org> wrote:
> I just looked at a few parts so far, and I hate this much less than I
> feared. Nice.
>
> One question: are we / should we be doing anything to reject
> "filesystem:filesystem:filesystem....."?
See url_parse.cc:379.
http://codereview.appspot.com/4961060/diff/50002/src/gurl.cc File src/gurl.cc (right): http://codereview.appspot.com/4961060/diff/50002/src/gurl.cc#newcode499 src/gurl.cc:499: void GURL::Swap(GURL* other) { You need to add the ...
Will do; thanks!
On Wed, Jan 4, 2012 at 2:47 PM, <brettw@chromium.org> wrote:
> Committed as googleurl@166.
>
> I did not pull deps. You should submit a change to do that (you can TBR
> it).
>
> http://codereview.appspot.com/4961060/
Issue 4961060: Add support for real full filesystem URL parsing and canonicalization.
Created 13 years, 4 months ago by ericu
Modified 13 years ago
Reviewers: abarth, brettw
Base URL: http://google-url.googlecode.com/svn/trunk/
Comments: 24