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

Issue 640403002: Drop refs to net::EmbeddedTestServer / net::File{Path,URL} utils in mojo (Closed)

Created:
6 years, 2 months ago by jamesr
Modified:
6 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Drop refs to net::EmbeddedTestServer / net::File{Path,URL} utils in mojo We don't actually use the embedded test server and we don't need most of what the file path conversion utilities provide. We only need to support very simple URLs for loading off of file paths and we do not need to support windows at all for mojo_shell. Committed: https://crrev.com/b7893322082382329bf46d20d91c4695c234026c Cr-Commit-Position: refs/heads/master@{#300331}

Patch Set 1 #

Total comments: 1

Patch Set 2 : use DecodeURLEscapeSequences #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : cast length explicitly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -32 lines) Patch
M mojo/mojo.gyp View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 1 chunk +5 lines, -3 lines 0 comments Download
M mojo/shell/dynamic_application_loader.cc View 1 2 3 4 2 chunks +14 lines, -3 lines 0 comments Download
M mojo/shell/dynamic_application_loader_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A mojo/shell/filename_util.h View 1 chunk +22 lines, -0 lines 0 comments Download
A mojo/shell/filename_util.cc View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
M mojo/shell/mojo_url_resolver.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/shell/shell_test_base.h View 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/shell/shell_test_base.cc View 4 chunks +2 lines, -9 lines 0 comments Download
M mojo/shell/shell_test_helper.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
jamesr
6 years, 2 months ago (2014-10-09 20:09:59 UTC) #2
brettw
https://codereview.chromium.org/640403002/diff/1/mojo/shell/dynamic_application_loader.cc File mojo/shell/dynamic_application_loader.cc (right): https://codereview.chromium.org/640403002/diff/1/mojo/shell/dynamic_application_loader.cc#newcode98 mojo/shell/dynamic_application_loader.cc:98: base::FilePath path(base::ASCIIToUTF16(url.path())); This isn't correct, the path on Windows ...
6 years, 2 months ago (2014-10-09 22:26:29 UTC) #3
jamesr
On 2014/10/09 22:26:29, brettw wrote: > https://codereview.chromium.org/640403002/diff/1/mojo/shell/dynamic_application_loader.cc > File mojo/shell/dynamic_application_loader.cc (right): > > https://codereview.chromium.org/640403002/diff/1/mojo/shell/dynamic_application_loader.cc#newcode98 > ...
6 years, 2 months ago (2014-10-09 22:35:56 UTC) #4
jamesr
I could add a #if defined(OS_WINDOWS) NOTREACHED() if you'd prefer.
6 years, 2 months ago (2014-10-09 22:38:05 UTC) #5
brettw
It needs to be unescaped in any case. I think the shell should be runnable ...
6 years, 2 months ago (2014-10-09 22:44:07 UTC) #6
jamesr
https://codereview.chromium.org/640403002/diff/260001/mojo/shell/dynamic_application_loader.cc File mojo/shell/dynamic_application_loader.cc (right): https://codereview.chromium.org/640403002/diff/260001/mojo/shell/dynamic_application_loader.cc#newcode99 mojo/shell/dynamic_application_loader.cc:99: url::DecodeURLEscapeSequences( PTAL
6 years, 2 months ago (2014-10-16 21:41:37 UTC) #7
jamesr
ping
6 years, 2 months ago (2014-10-20 17:16:47 UTC) #8
brettw
lgtm https://codereview.chromium.org/640403002/diff/260001/mojo/shell/filename_util.cc File mojo/shell/filename_util.cc (right): https://codereview.chromium.org/640403002/diff/260001/mojo/shell/filename_util.cc#newcode18 mojo/shell/filename_util.cc:18: FILE_PATH_LITERAL("file:///"); You wan only two slashes here since ...
6 years, 2 months ago (2014-10-20 17:26:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640403002/280001
6 years, 2 months ago (2014-10-20 17:36:43 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/81147) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/70780) android_aosp ...
6 years, 2 months ago (2014-10-20 17:40:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640403002/300001
6 years, 2 months ago (2014-10-20 18:20:17 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/20701)
6 years, 2 months ago (2014-10-20 19:11:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640403002/320001
6 years, 2 months ago (2014-10-20 19:22:36 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:320001)
6 years, 2 months ago (2014-10-20 20:56:37 UTC) #20
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 20:57:19 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7893322082382329bf46d20d91c4695c234026c
Cr-Commit-Position: refs/heads/master@{#300331}

Powered by Google App Engine
This is Rietveld 408576698