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

Unified Diff: chrome/browser/feedback/feedback_util.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
« no previous file with comments | « chrome/browser/extensions/sandboxed_unpacker.cc ('k') | chrome/browser/first_run/first_run_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/feedback/feedback_util.cc
diff --git a/chrome/browser/feedback/feedback_util.cc b/chrome/browser/feedback/feedback_util.cc
index 969bb9e47b5ed1b595b01e696dfe65310282f8c1..c9346e1492c6fe8b53c2faf45006db8b4e974d88 100644
--- a/chrome/browser/feedback/feedback_util.cc
+++ b/chrome/browser/feedback/feedback_util.cc
@@ -376,7 +376,7 @@ bool ZipString(const base::FilePath& filename,
base::FilePath temp_path;
// Create a temporary directory, put the logs into a file in it.
- if (!file_util::CreateNewTempDirectory(FILE_PATH_LITERAL(""), &temp_path))
+ if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_path))
return false;
base::FilePath temp_file = temp_path.Append(filename);
@@ -390,7 +390,7 @@ bool ZipFile(const base::FilePath& filename, std::string* compressed_logs) {
base::FilePath zip_file;
// Create a temporary file to receive the zip file in it.
- if (!file_util::CreateTemporaryFile(&zip_file))
+ if (!base::CreateTemporaryFile(&zip_file))
return false;
if (!zip::Zip(filename, zip_file, false))
« no previous file with comments | « chrome/browser/extensions/sandboxed_unpacker.cc ('k') | chrome/browser/first_run/first_run_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698