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

Unified Diff: trunk/src/net/tools/dump_cache/cache_dumper.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
Index: trunk/src/net/tools/dump_cache/cache_dumper.cc
===================================================================
--- trunk/src/net/tools/dump_cache/cache_dumper.cc (revision 239399)
+++ trunk/src/net/tools/dump_cache/cache_dumper.cc (working copy)
@@ -108,7 +108,7 @@
wprintf(L"CreateFileW (%s) failed: %d\n", file.c_str(), GetLastError());
return (entry_ != INVALID_HANDLE_VALUE) ? net::OK : net::ERR_FAILED;
#else
- entry_ = base::OpenFile(entry_path_, "w+");
+ entry_ = file_util::OpenFile(entry_path_, "w+");
return (entry_ != NULL) ? net::OK : net::ERR_FAILED;
#endif
}
@@ -218,6 +218,6 @@
#ifdef WIN32_LARGE_FILENAME_SUPPORT
CloseHandle(entry_);
#else
- base::CloseFile(entry_);
+ file_util::CloseFile(entry_);
#endif
}
« no previous file with comments | « trunk/src/net/proxy/proxy_config_service_linux.cc ('k') | trunk/src/net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698