summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 21:47:34 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 21:47:34 +0000
commitce557b68925e65ba5a705f9fce60d062df68bf40 (patch)
tree9c6595d32943fc408fa75f39aae9948706d87e64 /base
parent5035f683b6fbf8cc945a96af9598a4739a8c6f4f (diff)
downloadchromium_src-ce557b68925e65ba5a705f9fce60d062df68bf40.zip
chromium_src-ce557b68925e65ba5a705f9fce60d062df68bf40.tar.gz
chromium_src-ce557b68925e65ba5a705f9fce60d062df68bf40.tar.bz2
wstring: remove wstring method from PlatformFile
It appears to be unused. Review URL: http://codereview.chromium.org/6646036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-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);