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

Issue 12090003: Remove ".." from PathService take #2. (Closed)

Created:
7 years, 11 months ago by M-A Ruel
Modified:
7 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org
Visibility:
Public.

Description

Remove ".." from PathService take #2. Hook directly into PathService::Get() and only convert to an absolute path when ".." is found in the path. Otherwise leave it as-is. In particular, this won't trigger when the path is simply relative, like "./unit_tests". This is necessary to make most test cases pass but this has the advatange of not triggering in the common case for Google Chrome. R=cpu@chromium.org,mark@chromium.org BUG=168890 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179042

Patch Set 1 #

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

Messages

Total messages: 4 (0 generated)
M-A Ruel
7 years, 11 months ago (2013-01-25 23:22:54 UTC) #1
Mark Mentovai
I thought people started tests as ../out/Release/unit_tests too, but apparently they don’t, because this would ...
7 years, 11 months ago (2013-01-25 23:27:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/12090003/1
7 years, 11 months ago (2013-01-26 01:00:13 UTC) #3
commit-bot: I haz the power
7 years, 11 months ago (2013-01-26 04:51:30 UTC) #4
Message was sent while issue was closed.
Change committed as 179042

Powered by Google App Engine
This is Rietveld 408576698