Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2943)

Unified Diff: base/file_util.cc

Issue 9691059: Cleanup: Remove remaining deprecated file_util functions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/file_util.h ('k') | base/file_util_deprecated.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.cc
===================================================================
--- base/file_util.cc (revision 126437)
+++ base/file_util.cc (working copy)
@@ -380,20 +380,6 @@
return MapFileToMemoryInternal();
}
-// Deprecated functions ----------------------------------------------------
-
-#if defined(OS_WIN)
-FILE* OpenFile(const std::wstring& filename, const char* mode) {
- return OpenFile(FilePath::FromWStringHack(filename), mode);
-}
-int ReadFile(const std::wstring& filename, char* data, int size) {
- return ReadFile(FilePath::FromWStringHack(filename), data, size);
-}
-int WriteFile(const std::wstring& filename, const char* data, int size) {
- return WriteFile(FilePath::FromWStringHack(filename), data, size);
-}
-#endif // OS_WIN
-
///////////////////////////////////////////////
// FileEnumerator
//
« no previous file with comments | « base/file_util.h ('k') | base/file_util_deprecated.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698