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

Issue 868963002: Simplify resolution of mojo: URLs. (Closed)

Created:
5 years, 11 months ago by Nick Bray (chromium)
Modified:
5 years, 11 months ago
CC:
abarth-chromium, ben+mojo_chromium.org, darin (slow to review), mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Simplify resolution of mojo: URLs. Primarily, this eliminates the concept of a "local" mojo: URL by explicitly mapping said mojo: URL onto a file URL. BUG=401761 R=aa@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/29e5fc696a6555f7d4629a45ad8c1bad051ac38a

Patch Set 1 #

Total comments: 15

Patch Set 2 : Android #

Patch Set 3 : Edit and rebase #

Patch Set 4 : Walk back #

Patch Set 5 : Name fix #

Total comments: 6

Patch Set 6 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -79 lines) Patch
M shell/android/mojo_main.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M shell/context.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M shell/context.cc View 1 2 3 4 8 chunks +59 lines, -28 lines 0 comments Download
M shell/filename_util.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M shell/filename_util.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M shell/mojo_url_resolver.h View 2 chunks +0 lines, -10 lines 0 comments Download
M shell/mojo_url_resolver.cc View 1 2 chunks +6 lines, -40 lines 0 comments Download

Messages

Total messages: 18 (2 generated)
Nick Bray (chromium)
Who would be the best reviewer for this? Down the road I'll probably move the ...
5 years, 11 months ago (2015-01-23 00:28:22 UTC) #2
Aaron Boodman
Good reviewers for this change would be me, david moore, qsr, abarth ... maybe others. ...
5 years, 11 months ago (2015-01-23 00:43:59 UTC) #3
abarth-chromium
ncbray talked a bit in person about removing the special case for file URLs. He's ...
5 years, 11 months ago (2015-01-23 02:23:15 UTC) #4
Aaron Boodman
I think that davemoore should also take a look at this as he is working ...
5 years, 11 months ago (2015-01-23 02:34:06 UTC) #6
qsr
I'm pretty sure this is breaking the shell on Android. On android the network service ...
5 years, 11 months ago (2015-01-23 08:36:15 UTC) #7
DaveMoore
Please don't check this in until we decide on a viable path forward for mojo:. ...
5 years, 11 months ago (2015-01-23 18:45:07 UTC) #8
Nick Bray (chromium)
On 2015/01/23 18:45:07, DaveMoore wrote: > Please don't check this in until we decide on ...
5 years, 11 months ago (2015-01-23 19:13:47 UTC) #9
DaveMoore
I suppose it's true that it's a noop to the changes I want to make. ...
5 years, 11 months ago (2015-01-23 19:23:51 UTC) #10
Nick Bray (chromium)
OK, apologies for a little bit of CL creep. Fixing the Android issue required storing ...
5 years, 11 months ago (2015-01-24 01:09:04 UTC) #11
Nick Bray (chromium)
Hold off on reviewing this. On reflection, I made a subtle design mistake. Bah.
5 years, 11 months ago (2015-01-24 17:10:24 UTC) #12
Nick Bray (chromium)
Fixed. PTAL.
5 years, 11 months ago (2015-01-26 19:22:56 UTC) #13
Aaron Boodman
sorry for the review latency, this slipped off my todo list. Please ping me next ...
5 years, 11 months ago (2015-01-27 00:37:13 UTC) #14
Nick Bray (chromium)
https://codereview.chromium.org/868963002/diff/1/shell/context.cc File shell/context.cc (right): https://codereview.chromium.org/868963002/diff/1/shell/context.cc#newcode126 shell/context.cc:126: base_url = AddTrailingSlashIfNeeded(base_url); On 2015/01/27 00:37:13, Aaron Boodman wrote: ...
5 years, 11 months ago (2015-01-27 01:44:35 UTC) #15
Aaron Boodman
lgtm https://codereview.chromium.org/868963002/diff/1/shell/context.cc File shell/context.cc (right): https://codereview.chromium.org/868963002/diff/1/shell/context.cc#newcode126 shell/context.cc:126: base_url = AddTrailingSlashIfNeeded(base_url); On 2015/01/27 01:44:35, Nick Bray ...
5 years, 11 months ago (2015-01-27 07:29:54 UTC) #16
Nick Bray (chromium)
https://codereview.chromium.org/868963002/diff/80001/shell/context.h File shell/context.h (right): https://codereview.chromium.org/868963002/diff/80001/shell/context.h#newcode29 shell/context.h:29: GURL ResolveShellFileURL(const std::string& path); On 2015/01/27 07:29:54, Aaron Boodman ...
5 years, 11 months ago (2015-01-27 16:36:25 UTC) #17
Nick Bray (chromium)
5 years, 11 months ago (2015-01-27 20:21:37 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
29e5fc696a6555f7d4629a45ad8c1bad051ac38a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698