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

Issue 14827: Implement FilePath::Contains() (Closed)

Created:
12 years ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Rather than create a TODO that will never be done, I went ahead and implemented FilePath::Contains().

Patch Set 1 #

Patch Set 2 : fixens #

Patch Set 3 : Make it work on posix blargh #

Total comments: 1

Patch Set 4 : Make it work on mac and linux #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -6 lines) Patch
M base/file_path.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M base/file_path.cc View 1 2 3 2 chunks +27 lines, -0 lines 0 comments Download
M base/file_path_unittest.cc View 1 2 3 6 chunks +64 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Aaron Boodman
12 years ago (2008-12-18 02:33:55 UTC) #1
DO NOT USE THIS ACCOUNT
12 years ago (2008-12-18 04:29:44 UTC) #2
LGTM - excellent!

http://codereview.chromium.org/14827/diff/203/13
File base/file_path.cc (right):

http://codereview.chromium.org/14827/diff/203/13#newcode199
Line 199: // file_util::AbsolutePath() normalizes '/' to '\', so we only need to
check
on windows

Powered by Google App Engine
This is Rietveld 408576698