diff options
author | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 11:48:52 +0000 |
---|---|---|
committer | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 11:48:52 +0000 |
commit | 307a825aeeda5d47bdd9ad1206496c1c2b878868 (patch) | |
tree | 5e9b23d11e06aa801bbf572e2ef8b379dca65527 /base/platform_file.h | |
parent | 9a96389e66421f3c76b5349acaf78ab94eb322f1 (diff) | |
download | chromium_src-307a825aeeda5d47bdd9ad1206496c1c2b878868.zip chromium_src-307a825aeeda5d47bdd9ad1206496c1c2b878868.tar.gz chromium_src-307a825aeeda5d47bdd9ad1206496c1c2b878868.tar.bz2 |
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\*
Review URL: https://codereview.chromium.org/11198079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file.h')
-rw-r--r-- | base/platform_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/platform_file.h b/base/platform_file.h index a9708f4..1a71359 100644 --- a/base/platform_file.h +++ b/base/platform_file.h @@ -54,6 +54,7 @@ enum PlatformFileFlags { PLATFORM_FILE_SHARE_DELETE = 1 << 15, // Used on Windows only PLATFORM_FILE_TERMINAL_DEVICE = 1 << 16, // Serial port flags + PLATFORM_FILE_BACKUP_SEMANTICS = 1 << 17, // Used on Windows only }; // PLATFORM_FILE_ERROR_ACCESS_DENIED is returned when a call fails because of |