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

Unified Diff: trunk/src/content/browser/browser_shutdown_profile_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/content/browser/browser_shutdown_profile_dumper.cc
===================================================================
--- trunk/src/content/browser/browser_shutdown_profile_dumper.cc (revision 239399)
+++ trunk/src/content/browser/browser_shutdown_profile_dumper.cc (working copy)
@@ -37,7 +37,7 @@
base::debug::TraceLog::GetInstance()->GetBufferPercentFull() <<
" full.";
DCHECK(!dump_file_);
- dump_file_ = base::OpenFile(file_name, "w+");
+ dump_file_ = file_util::OpenFile(file_name, "w+");
if (!IsFileValid()) {
LOG(ERROR) << "Failed to open performance trace file: " <<
file_name.value();
@@ -131,7 +131,7 @@
void BrowserShutdownProfileDumper::CloseFile() {
if (!dump_file_)
return;
- base::CloseFile(dump_file_);
+ file_util::CloseFile(dump_file_);
dump_file_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698