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

Unified Diff: content/browser/tracing/tracing_controller_impl.cc

Issue 99923002: Move temp file 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/browser/tracing/tracing_controller_impl.cc
diff --git a/content/browser/tracing/tracing_controller_impl.cc b/content/browser/tracing/tracing_controller_impl.cc
index 06018663d6cdafffc861e8ce84fe62612f195580..24a53e315707f742d79b1c1fc64af480a06af0a6 100644
--- a/content/browser/tracing/tracing_controller_impl.cc
+++ b/content/browser/tracing/tracing_controller_impl.cc
@@ -67,7 +67,7 @@ TracingControllerImpl::ResultFile::ResultFile(const base::FilePath& path)
void TracingControllerImpl::ResultFile::OpenTask() {
if (path_.empty())
- file_util::CreateTemporaryFile(&path_);
+ base::CreateTemporaryFile(&path_);
file_ = file_util::OpenFile(path_, "w");
if (!file_) {
LOG(ERROR) << "Failed to open " << path_.value();
« no previous file with comments | « content/browser/tracing/tracing_controller_browsertest.cc ('k') | content/browser/web_contents/web_contents_drag_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698