Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Issue 11198079: Enable to touch a directory on Windows (Closed)

Created:
8 years, 2 months ago by nhiroki
Modified:
8 years, 1 month ago
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch, erikwright+watch_chromium.org, darin-cc_chromium.org, calvinlo
Visibility:
Public.

Description

On Windows, current implementation fails touching directories because it cannot open directories without specific flag |FILE_FLAG_BACKUP_SEMANTICS|. This patch makes it possible to touch them by setting the flag. BUG=136490, 137807 TEST=content_unittests --gtest_filter=\*MoveDirectory\* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165338

Patch Set 1 #

Patch Set 2 : Add unittests #

Total comments: 2

Patch Set 3 : Reflect comment #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Reflect comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -8 lines) Patch
M base/file_util.cc View 1 2 3 4 1 chunk +10 lines, -5 lines 0 comments Download
M base/platform_file.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/platform_file_win.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/fileapi/file_util_helper.cc View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M webkit/fileapi/local_file_util_unittest.cc View 1 1 chunk +54 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
nhiroki
PTAL, thanks!
8 years, 2 months ago (2012-10-19 09:14:17 UTC) #1
tzik
Thanks! LGTM! Please ask base/ OWNERS to review this. http://codereview.chromium.org/11198079/diff/1006/base/file_util.cc File base/file_util.cc (right): http://codereview.chromium.org/11198079/diff/1006/base/file_util.cc#newcode209 base/file_util.cc:209: ...
8 years, 2 months ago (2012-10-19 09:57:35 UTC) #2
nhiroki
Thanks for reviewing! http://codereview.chromium.org/11198079/diff/1006/base/file_util.cc File base/file_util.cc (right): http://codereview.chromium.org/11198079/diff/1006/base/file_util.cc#newcode209 base/file_util.cc:209: if (DirectoryExists(path)) On 2012/10/19 09:57:35, tzik ...
8 years, 2 months ago (2012-10-22 02:28:09 UTC) #3
nhiroki
+brettw@, could you review base/ as OWNER? Thanks!
8 years, 2 months ago (2012-10-22 02:38:24 UTC) #4
nhiroki
brettw@, just a friendly ping. I need OWNER review in base/, could you take a ...
8 years, 1 month ago (2012-10-29 05:09:02 UTC) #5
brettw
I'm going to redirect my review to cpu. LGTM to make the CQ happy, but ...
8 years, 1 month ago (2012-10-29 18:35:39 UTC) #6
cpu_(ooo_6.6-7.5)
question, what do you get currenty before your patch if you pass a directory? base::kInvalidPlatformFileValue ...
8 years, 1 month ago (2012-10-29 22:55:06 UTC) #7
cpu_(ooo_6.6-7.5)
8 years, 1 month ago (2012-10-29 22:55:31 UTC) #8
nhiroki
Thanks for reviewing! On 2012/10/29 22:55:06, cpu wrote: > question, what do you get currenty ...
8 years, 1 month ago (2012-10-31 04:22:46 UTC) #9
cpu_(ooo_6.6-7.5)
lgtm
8 years, 1 month ago (2012-10-31 22:27:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11198079/37001
8 years, 1 month ago (2012-11-01 00:31:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11198079/37001
8 years, 1 month ago (2012-11-01 03:32:10 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 1 month ago (2012-11-01 09:08:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11198079/37001
8 years, 1 month ago (2012-11-01 09:18:17 UTC) #14
commit-bot: I haz the power
8 years, 1 month ago (2012-11-01 11:12:40 UTC) #15
Retried try job too often for step(s) interactive_ui_tests

Powered by Google App Engine
This is Rietveld 408576698