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

Issue 296113003: Make DeleteFile succeed on Windows 7 even if the path contains a nonexistent directory (Closed)

Created:
6 years, 7 months ago by ericu
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Make DeleteFile succeed on Windows 7 even if the path contains a nonexistent diretory. BUG=375804 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272071

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed formatting, added unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M base/file_util_unittest.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M base/file_util_win.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ericu
Here's that one-liner we discussed yesterday.
6 years, 7 months ago (2014-05-21 16:33:51 UTC) #1
rvargas (doing something else)
We should extend FileUtilTest.DeleteNonExistent to cover a non-existing directory. https://codereview.chromium.org/296113003/diff/1/base/file_util_win.cc File base/file_util_win.cc (right): https://codereview.chromium.org/296113003/diff/1/base/file_util_win.cc#newcode100 base/file_util_win.cc:100: ...
6 years, 7 months ago (2014-05-21 18:01:14 UTC) #2
ericu
https://codereview.chromium.org/296113003/diff/1/base/file_util_win.cc File base/file_util_win.cc (right): https://codereview.chromium.org/296113003/diff/1/base/file_util_win.cc#newcode100 base/file_util_win.cc:100: err == 0x7C); On 2014/05/21 18:01:14, rvargas wrote: > ...
6 years, 7 months ago (2014-05-21 18:11:50 UTC) #3
ericu
I also added the unit test. On Wed, May 21, 2014 at 11:11 AM, <ericu@chromium.org> ...
6 years, 7 months ago (2014-05-21 18:13:28 UTC) #4
rvargas (doing something else)
LGTM
6 years, 7 months ago (2014-05-21 18:14:27 UTC) #5
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-05-21 18:30:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/296113003/10001
6 years, 7 months ago (2014-05-21 19:58:41 UTC) #7
ericu
+brettw as owner. Brett, this is that error code fix I mentioned yesterday; could you ...
6 years, 7 months ago (2014-05-21 20:23:13 UTC) #8
brettw
LGTM based on rvargas' review. Just checking that we can't use a constant there? We ...
6 years, 7 months ago (2014-05-21 20:55:46 UTC) #9
ericu
According to http://msdn.microsoft.com/en-us/library/windows/desktop/bb762164(v=vs.85).aspx: "These are pre-Win32 error codes and are no longer supported or defined ...
6 years, 7 months ago (2014-05-21 20:58:22 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 03:22:51 UTC) #11
Message was sent while issue was closed.
Change committed as 272071

Powered by Google App Engine
This is Rietveld 408576698