summaryrefslogtreecommitdiffstats
path: root/chrome/installer/test
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 17:55:52 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 17:55:52 +0000
commit03d9afc0b775748203170a27014a3ee3500aecc2 (patch)
treed911fe4a8ffa53ef58c25689011036399f327b16 /chrome/installer/test
parente7a32a13a89efea50f38288ebeadbc3189d971de (diff)
downloadchromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.zip
chromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.tar.gz
chromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.tar.bz2
Move temp file functions to base namespace.
BUG= Review URL: https://codereview.chromium.org/99923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/test')
-rw-r--r--chrome/installer/test/alternate_version_generator.cc2
-rw-r--r--chrome/installer/test/upgrade_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/test/alternate_version_generator.cc b/chrome/installer/test/alternate_version_generator.cc
index d00da4f..6b65aa1 100644
--- a/chrome/installer/test/alternate_version_generator.cc
+++ b/chrome/installer/test/alternate_version_generator.cc
@@ -84,7 +84,7 @@ class ScopedTempDirectory {
// Creates a temporary directory.
bool Initialize() {
DCHECK(directory_.empty());
- if (!file_util::CreateNewTempDirectory(&kTempDirPrefix[0], &directory_)) {
+ if (!base::CreateNewTempDirectory(&kTempDirPrefix[0], &directory_)) {
LOG(DFATAL) << "Failed creating temporary directory.";
return false;
}
diff --git a/chrome/installer/test/upgrade_test.cc b/chrome/installer/test/upgrade_test.cc
index cca9359..d50089f 100644
--- a/chrome/installer/test/upgrade_test.cc
+++ b/chrome/installer/test/upgrade_test.cc
@@ -22,7 +22,7 @@ class UpgradeTest : public testing::Test {
static void SetUpTestCase() {
base::FilePath dir_exe;
ASSERT_TRUE(PathService::Get(base::DIR_EXE, &dir_exe));
- ASSERT_TRUE(file_util::CreateTemporaryFile(&next_mini_installer_path_));
+ ASSERT_TRUE(base::CreateTemporaryFile(&next_mini_installer_path_));
ASSERT_TRUE(
upgrade_test::GenerateAlternateVersion(
dir_exe.Append(&kMiniInstallerExe[0]),