diff options
author | dgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-24 04:42:43 +0000 |
---|---|---|
committer | dgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-24 04:42:43 +0000 |
commit | 6c6862b8c22e1adc3fed74f5621e78ea09eea76c (patch) | |
tree | 784d7fc77ada05d8503ab4f0785a4bacaa1bc871 /base/platform_file.h | |
parent | 066e77679e78926fb71b2a546b0922c98fd7f0c3 (diff) | |
download | chromium_src-6c6862b8c22e1adc3fed74f5621e78ea09eea76c.zip chromium_src-6c6862b8c22e1adc3fed74f5621e78ea09eea76c.tar.gz chromium_src-6c6862b8c22e1adc3fed74f5621e78ea09eea76c.tar.bz2 |
Implement native version of GetDirectoryEntries for windows.
The old implementation used base::FileEnumerator and
swallowed errors. The new implementation returns errors.
Review URL: https://codereview.chromium.org/36073003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file.h')
-rw-r--r-- | base/platform_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/platform_file.h b/base/platform_file.h index 6a0e161..62b5c35 100644 --- a/base/platform_file.h +++ b/base/platform_file.h @@ -122,7 +122,7 @@ struct BASE_EXPORT PlatformFileInfo { #if defined(OS_WIN) typedef HANDLE PlatformFile; const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE; -PlatformFileError LastErrorToPlatformFileError(DWORD saved_errno); +BASE_EXPORT PlatformFileError LastErrorToPlatformFileError(DWORD last_error); #elif defined(OS_POSIX) typedef int PlatformFile; const PlatformFile kInvalidPlatformFileValue = -1; |