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

Unified Diff: chrome/browser/component_updater/component_unpacker.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: chrome/browser/component_updater/component_unpacker.cc
diff --git a/chrome/browser/component_updater/component_unpacker.cc b/chrome/browser/component_updater/component_unpacker.cc
index 5541a9b5d269281f871dbd99743aa75d7fe5de60..789049a29613bf7b7ba96095cc763f9b09ae48ed 100644
--- a/chrome/browser/component_updater/component_unpacker.cc
+++ b/chrome/browser/component_updater/component_unpacker.cc
@@ -146,8 +146,8 @@ ComponentUnpacker::ComponentUnpacker(const std::vector<uint8>& pk_hash,
error_ = kInvalidId;
return;
}
- if (!file_util::CreateNewTempDirectory(FILE_PATH_LITERAL(""),
- &unpack_path_)) {
+ if (!base::CreateNewTempDirectory(base::FilePath::StringType(),
+ &unpack_path_)) {
error_ = kUnzipPathError;
return;
}
@@ -155,8 +155,8 @@ ComponentUnpacker::ComponentUnpacker(const std::vector<uint8>& pk_hash,
// We want a different temp directory for the delta files; we'll put the
// patch output into unpack_path_.
base::FilePath unpack_diff_path;
- if (!file_util::CreateNewTempDirectory(FILE_PATH_LITERAL(""),
- &unpack_diff_path)) {
+ if (!base::CreateNewTempDirectory(base::FilePath::StringType(),
+ &unpack_diff_path)) {
error_ = kUnzipPathError;
return;
}
« no previous file with comments | « chrome/browser/chromeos/system/syslogs_provider.cc ('k') | chrome/browser/component_updater/test/test_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698