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 17243: Add implementations of various extension related methods (derived from file_u... (Closed)

Created:
11 years, 11 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add implementations of various extension related methods (derived from file_util): Extension, RemoveExtension, InsertBeforeExtension, ReplaceExtension I didn't reimplement the old file_util ones since they actually modify the FilePath in place, which isn't the style of the rest of the FilePath methods. I'll file a cleanup bug after this for callers to switch to the new methods. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7811

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 35

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 9

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -17 lines) Patch
M base/file_path.h View 1 2 3 4 5 6 7 2 chunks +33 lines, -0 lines 0 comments Download
M base/file_path.cc View 1 2 3 4 5 6 7 3 chunks +81 lines, -4 lines 0 comments Download
M base/file_path_unittest.cc View 1 2 3 4 5 6 7 1 chunk +159 lines, -0 lines 0 comments Download
M base/file_util.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -13 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Erik does not do reviews
11 years, 11 months ago (2009-01-07 21:37:14 UTC) #1
Mark Mentovai
http://codereview.chromium.org/17243/diff/213/216 File base/file_path.cc (right): http://codereview.chromium.org/17243/diff/213/216#newcode144 Line 144: FilePath::StringType file_name = BaseName().value(); Again with the excess ...
11 years, 11 months ago (2009-01-07 22:11:36 UTC) #2
Erik does not do reviews
new snapshot uploaded http://codereview.chromium.org/17243/diff/213/216 File base/file_path.cc (right): http://codereview.chromium.org/17243/diff/213/216#newcode154 Line 154: file_name, last_dot+1); On 2009/01/07 22:11:36, ...
11 years, 11 months ago (2009-01-08 00:39:44 UTC) #3
Mark Mentovai
http://codereview.chromium.org/17243/diff/26/29 File base/file_path.cc (right): http://codereview.chromium.org/17243/diff/26/29#newcode159 Line 159: if (ext.empty()) >I'm not actually sure what the ...
11 years, 11 months ago (2009-01-08 18:04:20 UTC) #4
Erik does not do reviews
http://codereview.chromium.org/17243/diff/26/29 File base/file_path.cc (right): http://codereview.chromium.org/17243/diff/26/29#newcode159 Line 159: if (ext.empty()) On 2009/01/08 18:04:20, Mark Mentovai wrote: ...
11 years, 11 months ago (2009-01-09 01:16:12 UTC) #5
Mark Mentovai
11 years, 11 months ago (2009-01-09 18:21:44 UTC) #6
LGTM!

Powered by Google App Engine
This is Rietveld 408576698