diff options
author | ericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-13 21:56:32 +0000 |
---|---|---|
committer | ericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-13 21:56:32 +0000 |
commit | d4905e2e68cb434f9b3cbea9726eeaf23b1ecb00 (patch) | |
tree | 0252099f7e9b2eaa1f0df3166da7933d761b4b55 /base/platform_file_win.cc | |
parent | 067a16671a1faf2f460f5ebbddfbfb5d933c5cec (diff) | |
download | chromium_src-d4905e2e68cb434f9b3cbea9726eeaf23b1ecb00.zip chromium_src-d4905e2e68cb434f9b3cbea9726eeaf23b1ecb00.tar.gz chromium_src-d4905e2e68cb434f9b3cbea9726eeaf23b1ecb00.tar.bz2 |
ObfuscatedFileSystemFileUtil class
This is functional and reasonably well-tested, but we'll still have to adapt the system a bit in order to use it.
BUG=none
TEST=included unit tests
Review URL: http://codereview.chromium.org/6955013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file_win.cc')
-rw-r--r-- | base/platform_file_win.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc index 0cb3e53..7a6a586 100644 --- a/base/platform_file_win.cc +++ b/base/platform_file_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -17,6 +17,8 @@ PlatformFile CreatePlatformFile(const FilePath& name, base::ThreadRestrictions::AssertIOAllowed(); DWORD disposition = 0; + if (created) + *created = false; if (flags & PLATFORM_FILE_OPEN) disposition = OPEN_EXISTING; |