summaryrefslogtreecommitdiffstats
path: root/base/platform_file.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 20:01:24 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 20:01:24 +0000
commit4c3fe4ae337c8661c6370099bea9a5bcf5faf270 (patch)
treef9c7bc1c8eb0d775bef8b9bd3f0f3e3b74d196e8 /base/platform_file.h
parentf8ba0bdf8fcf7dd46d3dd987685d727b3149467a (diff)
downloadchromium_src-4c3fe4ae337c8661c6370099bea9a5bcf5faf270.zip
chromium_src-4c3fe4ae337c8661c6370099bea9a5bcf5faf270.tar.gz
chromium_src-4c3fe4ae337c8661c6370099bea9a5bcf5faf270.tar.bz2
Revert "Fix the case where the browser livelocks if we cannot open a file."
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file.h')
-rw-r--r--base/platform_file.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/platform_file.h b/base/platform_file.h
index 46ff0cc..0dbf4e4 100644
--- a/base/platform_file.h
+++ b/base/platform_file.h
@@ -6,8 +6,6 @@
#define BASE_PLATFORM_FILE_H_
#include "build/build_config.h"
-#include "base/basictypes.h"
-
#if defined(OS_WIN)
#include <windows.h>
#endif
@@ -55,10 +53,6 @@ PlatformFile CreatePlatformFile(const std::wstring& name,
// Closes a file handle
bool ClosePlatformFile(PlatformFile file);
-// Get the length of an underlying file. Returns false on error. Otherwise
-// *size is set to the length of the file, in bytes.
-bool GetPlatformFileSize(PlatformFile file, uint64* size);
-
} // namespace base
#endif // BASE_PLATFORM_FILE_H_