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

Unified Diff: content/child/npapi/plugin_stream_posix.cc

Issue 109043002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: content/child/npapi/plugin_stream_posix.cc
diff --git a/content/child/npapi/plugin_stream_posix.cc b/content/child/npapi/plugin_stream_posix.cc
index b84a6d9d0ca47e6a5bb016669eaba9484acbbbc0..8c74d83cd2c978ba07ac448fdb767ade8d28d2db 100644
--- a/content/child/npapi/plugin_stream_posix.cc
+++ b/content/child/npapi/plugin_stream_posix.cc
@@ -34,7 +34,7 @@ bool PluginStream::OpenTempFile() {
DCHECK_EQ(static_cast<FILE*>(NULL), temp_file_);
if (base::CreateTemporaryFile(&temp_file_path_))
- temp_file_ = file_util::OpenFile(temp_file_path_, "a");
+ temp_file_ = base::OpenFile(temp_file_path_, "a");
if (!temp_file_) {
base::DeleteFile(temp_file_path_, false);
@@ -48,7 +48,7 @@ void PluginStream::CloseTempFile() {
if (!TempFileIsValid())
return;
- file_util::CloseFile(temp_file_);
+ base::CloseFile(temp_file_);
ResetTempFileHandle();
}
« no previous file with comments | « content/browser/tracing/tracing_controller_impl.cc ('k') | content/common/gpu/client/gl_helper_benchmark.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698