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

Issue 1709: CreateDirectory() should check if an existing path is actually a directory... (Closed)

Created:
12 years, 3 months ago by Michael Moss
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

CreateDirectory() should check if an existing path is actually a directory before skipping it. Also update a couple instances and comments to reflect current behaviour (see also http://codereview.chromium.org/1681). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2060

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -21 lines) Patch
M base/file_util.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M base/file_util_posix.cc View 1 2 3 4 5 3 chunks +8 lines, -3 lines 0 comments Download
M base/file_util_unittest.cc View 1 2 3 4 5 3 chunks +43 lines, -12 lines 0 comments Download
M base/file_util_win.cc View 1 2 3 4 5 2 chunks +8 lines, -1 line 0 comments Download
M base/path_service.cc View 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M net/disk_cache/backend_impl.cc View 3 4 5 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Michael Moss
12 years, 3 months ago (2008-09-10 20:50:11 UTC) #1
Erik does not do reviews
http://codereview.chromium.org/1709/diff/214/11 File base/file_util_unittest.cc (right): http://codereview.chromium.org/1709/diff/214/11#newcode711 Line 711: TEST_F(FileUtilTest, CreateDirectoryTest) { Since you changed CreateDirectory to ...
12 years, 3 months ago (2008-09-10 21:33:09 UTC) #2
Michael Moss
http://codereview.chromium.org/1709/diff/214/11 File base/file_util_unittest.cc (right): http://codereview.chromium.org/1709/diff/214/11#newcode711 Line 711: TEST_F(FileUtilTest, CreateDirectoryTest) { On 2008/09/10 21:33:09, Erik Kay ...
12 years, 3 months ago (2008-09-10 22:04:48 UTC) #3
Erik does not do reviews
one minor nit, otherwise LGTM http://codereview.chromium.org/1709/diff/23/219 File base/file_util_unittest.cc (right): http://codereview.chromium.org/1709/diff/23/219#newcode724 Line 724: // Works to ...
12 years, 3 months ago (2008-09-10 22:18:27 UTC) #4
Michael Moss
http://codereview.chromium.org/1709/diff/23/219 File base/file_util_unittest.cc (right): http://codereview.chromium.org/1709/diff/23/219#newcode724 Line 724: // Works to "create" it again. On 2008/09/10 ...
12 years, 3 months ago (2008-09-10 22:23:15 UTC) #5
M-A Ruel
lgtm http://codereview.chromium.org/1709/diff/233/237 File base/file_util_unittest.cc (right): http://codereview.chromium.org/1709/diff/233/237#newcode732 Line 732: EXPECT_EQ(file_util::CreateDirectory(test_path), false); I wonder why it's not ...
12 years, 3 months ago (2008-09-10 23:49:04 UTC) #6
Michael Moss
http://codereview.chromium.org/1709/diff/233/237 File base/file_util_unittest.cc (right): http://codereview.chromium.org/1709/diff/233/237#newcode732 Line 732: EXPECT_EQ(file_util::CreateDirectory(test_path), false); On 2008/09/10 23:49:05, M-A wrote: > ...
12 years, 3 months ago (2008-09-11 15:55:49 UTC) #7
M-A Ruel
12 years, 3 months ago (2008-09-11 15:59:54 UTC) #8
Thanks.

Powered by Google App Engine
This is Rietveld 408576698