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

Issue 145026: Move PathComponents from file_util to FilePath, add FilePath::IsParent() (Closed)

Created:
11 years, 6 months ago by rafaelw
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Move PathComponents from file_util to FilePath, add FilePath::IsParent() r=erikkay,mark Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19174

Patch Set 1 #

Patch Set 2 : linux compile #

Patch Set 3 : using iterators #

Patch Set 4 : use const #

Total comments: 22

Patch Set 5 : CR changes #

Total comments: 8

Patch Set 6 : more CR changes #

Total comments: 12

Patch Set 7 : final CR changes #

Patch Set 8 : lint errors #

Total comments: 2

Patch Set 9 : almost there... #

Patch Set 10 : noop #

Patch Set 11 : noop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -84 lines) Patch
M base/file_path.h View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M base/file_path.cc View 1 2 3 4 5 6 7 8 2 chunks +72 lines, -0 lines 0 comments Download
M base/file_path_unittest.cc View 1 2 3 4 5 2 chunks +102 lines, -0 lines 0 comments Download
M base/file_util.h View 1 chunk +0 lines, -4 lines 0 comments Download
M base/file_util.cc View 1 chunk +0 lines, -28 lines 0 comments Download
M base/file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -51 lines 0 comments Download
M chrome/browser/importer/ie_importer.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
rafaelw
11 years, 6 months ago (2009-06-23 00:17:59 UTC) #1
rafaelw
11 years, 6 months ago (2009-06-23 00:22:18 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/145026/diff/2020/3001 File base/file_path.cc (right): http://codereview.chromium.org/145026/diff/2020/3001#newcode76 Line 76: void FilePath::PathComponents(const FilePath& path, for future reference (since ...
11 years, 6 months ago (2009-06-23 03:41:45 UTC) #3
Mark Mentovai
I have some comments in addition to what Erik said. You should address everything he ...
11 years, 6 months ago (2009-06-23 03:48:04 UTC) #4
rafaelw
I've changed the implementation of GetComponents per my discussion with Mark. http://codereview.chromium.org/145026/diff/2020/3001 File base/file_path.cc (right): ...
11 years, 6 months ago (2009-06-23 23:03:40 UTC) #5
Erik does not do reviews
LGTM thanks for doing this cleanup!
11 years, 6 months ago (2009-06-23 23:13:45 UTC) #6
Mark Mentovai
I'm leaving in a sec, but I wanted to share my comments on the test ...
11 years, 6 months ago (2009-06-23 23:17:54 UTC) #7
rafaelw
http://codereview.chromium.org/145026/diff/3010/2029 File base/file_path_unittest.cc (right): http://codereview.chromium.org/145026/diff/3010/2029#newcode378 Line 378: static const struct PathComponentsCase { On 2009/06/23 23:17:54, ...
11 years, 6 months ago (2009-06-24 02:05:58 UTC) #8
Mark Mentovai
I have a couple of nits about using existing constants and that sort of thing, ...
11 years, 6 months ago (2009-06-24 16:11:25 UTC) #9
rafaelw
http://codereview.chromium.org/145026/diff/3016/2035 File base/file_path.cc (right): http://codereview.chromium.org/145026/diff/3016/2035#newcode94 Line 94: base.value() != FILE_PATH_LITERAL("\\") && On 2009/06/24 16:11:25, Mark ...
11 years, 6 months ago (2009-06-24 17:56:59 UTC) #10
Mark Mentovai
Great, this LGTM. Thanks. http://codereview.chromium.org/145026/diff/2052/3022 File base/file_path.cc (right): http://codereview.chromium.org/145026/diff/2052/3022#newcode73 Line 73: } // namespace Leave ...
11 years, 6 months ago (2009-06-24 17:59:43 UTC) #11
rafaelw
11 years, 6 months ago (2009-06-24 18:07:52 UTC) #12
http://codereview.chromium.org/145026/diff/2052/3022
File base/file_path.cc (right):

http://codereview.chromium.org/145026/diff/2052/3022#newcode73
Line 73: }  // namespace
On 2009/06/24 17:59:44, Mark Mentovai wrote:
> Leave the blank line between the end of the function and the end of the
> namespace.

Done.

Powered by Google App Engine
This is Rietveld 408576698