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

Unified Diff: trunk/src/media/audio/win/audio_unified_win.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/media/audio/win/audio_unified_win.cc
===================================================================
--- trunk/src/media/audio/win/audio_unified_win.cc (revision 239399)
+++ trunk/src/media/audio/win/audio_unified_win.cc (working copy)
@@ -161,7 +161,7 @@
base::FilePath data_file_name;
PathService::Get(base::DIR_EXE, &data_file_name);
data_file_name = data_file_name.AppendASCII(kUnifiedAudioDebugFileName);
- data_file_ = base::OpenFile(data_file_name, "wt");
+ data_file_ = file_util::OpenFile(data_file_name, "wt");
DVLOG(1) << ">> Output file " << data_file_name.value() << " is created.";
size_t n = 0;
@@ -175,16 +175,16 @@
fifo_rate_comps_[n]);
++n;
}
- base::CloseFile(data_file_);
+ file_util::CloseFile(data_file_);
base::FilePath param_file_name;
PathService::Get(base::DIR_EXE, &param_file_name);
param_file_name = param_file_name.AppendASCII(kUnifiedAudioParamsFileName);
- param_file_ = base::OpenFile(param_file_name, "wt");
+ param_file_ = file_util::OpenFile(param_file_name, "wt");
DVLOG(1) << ">> Output file " << param_file_name.value() << " is created.";
fprintf(param_file_, "%d %d\n", input_params_[0], input_params_[1]);
fprintf(param_file_, "%d %d\n", output_params_[0], output_params_[1]);
- base::CloseFile(param_file_);
+ file_util::CloseFile(param_file_);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698