DescriptionAdd an AddExtension() method in FilePath
This provides an AddExtension() method in FilePath, which will append an
extension to the FilePath. This provides clearer, more deliberate functionality
than AppendASCII(), and allows us to add extensions without using
ReplaceExtension, which will not work on files which already have extension (or
appear to, e.g. temp files).
BUG=NONE
TEST=FilePathTest.AddExtension (added), previous FilePathTests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133839
Patch Set 1 #
Total comments: 6
Patch Set 2 : Moved function IsBaseEmptyOrSpecialCase #
Total comments: 2
Patch Set 3 : Simplified special case checking #
Total comments: 2
Patch Set 4 : Removed duplicative check #Patch Set 5 : Retry with Green Tree and passing tests #
Messages
Total messages: 17 (0 generated)
|