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

Issue 137233006: Support relative file paths in FilePathToFileURL(). (Closed)

Created:
6 years, 11 months ago by mstensho (USE GERRIT)
Modified:
6 years, 11 months ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support relative file paths in FilePathToFileURL(). This makes it possible for content_shell to resolve relative file paths on the command line and turn them into proper startup URLs. BUG=336416 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246278

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M net/base/net_util.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mstensho (USE GERRIT)
Since FilePathToFileURL() just returned a bogus URL when passed a relative path, I decided to ...
6 years, 11 months ago (2014-01-21 15:13:07 UTC) #1
abarth-chromium
On 2014/01/21 15:13:07, Morten Stenshorne wrote: > If resolving relative paths there is considered > ...
6 years, 11 months ago (2014-01-21 21:35:25 UTC) #2
mstensho (USE GERRIT)
@wtc - do you have an opinion?
6 years, 11 months ago (2014-01-21 22:10:40 UTC) #3
wtc
Patch set 1 LGTM. I guess a file:// URL cannot contain a relative pathname? https://codereview.chromium.org/137233006/diff/1/net/base/net_util.cc ...
6 years, 11 months ago (2014-01-21 22:25:36 UTC) #4
mstensho (USE GERRIT)
On 2014/01/21 22:25:36, wtc wrote: > Patch set 1 LGTM. > > I guess a ...
6 years, 11 months ago (2014-01-22 06:19:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mstensho@opera.com/137233006/70001
6 years, 11 months ago (2014-01-22 06:21:14 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-22 10:41:30 UTC) #7
Message was sent while issue was closed.
Change committed as 246278

Powered by Google App Engine
This is Rietveld 408576698