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

Unified Diff: trunk/src/media/audio/android/audio_android_unittest.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/android/audio_android_unittest.cc
===================================================================
--- trunk/src/media/audio/android/audio_android_unittest.cc (revision 239399)
+++ trunk/src/media/audio/android/audio_android_unittest.cc (working copy)
@@ -218,7 +218,7 @@
base::FilePath file_path;
EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &file_path));
file_path = file_path.AppendASCII(file_name.c_str());
- binary_file_ = base::OpenFile(file_path, "wb");
+ binary_file_ = file_util::OpenFile(file_path, "wb");
DLOG_IF(ERROR, !binary_file_) << "Failed to open binary PCM data file.";
VLOG(0) << "Writing to file: " << file_path.value().c_str();
}
@@ -239,7 +239,7 @@
buffer_->Seek(chunk_size);
bytes_written += chunk_size;
}
- base::CloseFile(binary_file_);
+ file_util::CloseFile(binary_file_);
}
// AudioInputStream::AudioInputCallback implementation.

Powered by Google App Engine
This is Rietveld 408576698