summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/platform_file.h4
-rw-r--r--base/platform_file_posix.cc6
-rw-r--r--base/platform_file_win.cc6
3 files changed, 0 insertions, 16 deletions
diff --git a/base/platform_file.h b/base/platform_file.h
index dd3028b..a9ec59a 100644
--- a/base/platform_file.h
+++ b/base/platform_file.h
@@ -100,10 +100,6 @@ PlatformFile CreatePlatformFile(const FilePath& name,
int flags,
bool* created,
PlatformFileError* error_code);
-// Deprecated.
-PlatformFile CreatePlatformFile(const std::wstring& name,
- int flags,
- bool* created);
// Closes a file handle. Returns |true| on success and |false| otherwise.
bool ClosePlatformFile(PlatformFile file);
diff --git a/base/platform_file_posix.cc b/base/platform_file_posix.cc
index 00249aa..f84c163 100644
--- a/base/platform_file_posix.cc
+++ b/base/platform_file_posix.cc
@@ -134,12 +134,6 @@ PlatformFile CreatePlatformFile(const FilePath& name, int flags,
return descriptor;
}
-PlatformFile CreatePlatformFile(const std::wstring& name, int flags,
- bool* created) {
- return CreatePlatformFile(FilePath::FromWStringHack(name), flags,
- created, NULL);
-}
-
bool ClosePlatformFile(PlatformFile file) {
return !close(file);
}
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc
index f9eb234..0cb3e53 100644
--- a/base/platform_file_win.cc
+++ b/base/platform_file_win.cc
@@ -104,12 +104,6 @@ PlatformFile CreatePlatformFile(const FilePath& name,
return file;
}
-PlatformFile CreatePlatformFile(const std::wstring& name, int flags,
- bool* created) {
- return CreatePlatformFile(FilePath::FromWStringHack(name), flags,
- created, NULL);
-}
-
bool ClosePlatformFile(PlatformFile file) {
base::ThreadRestrictions::AssertIOAllowed();
return (CloseHandle(file) != 0);