summaryrefslogtreecommitdiffstats
path: root/base/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 /base/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 'base/test')
-rw-r--r--base/test/launcher/test_launcher.cc2
-rw-r--r--base/test/launcher/unit_test_launcher.cc6
2 files changed, 3 insertions, 5 deletions
diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc
index e5387be..0b32c84 100644
--- a/base/test/launcher/test_launcher.cc
+++ b/base/test/launcher/test_launcher.cc
@@ -248,7 +248,7 @@ void DoLaunchChildTestProcess(
// Redirect child process output to a file.
base::FilePath output_file;
- CHECK(file_util::CreateTemporaryFile(&output_file));
+ CHECK(base::CreateTemporaryFile(&output_file));
LaunchOptions options;
#if defined(OS_WIN)
diff --git a/base/test/launcher/unit_test_launcher.cc b/base/test/launcher/unit_test_launcher.cc
index a265f02..c9924ef 100644
--- a/base/test/launcher/unit_test_launcher.cc
+++ b/base/test/launcher/unit_test_launcher.cc
@@ -157,8 +157,7 @@ class UnitTestLauncherDelegate : public TestLauncherDelegate {
// per run to ensure clean state and make it possible to launch multiple
// processes in parallel.
base::FilePath output_file;
- CHECK(file_util::CreateNewTempDirectory(FilePath::StringType(),
- &output_file));
+ CHECK(CreateNewTempDirectory(FilePath::StringType(), &output_file));
output_file = output_file.AppendASCII("test_results.xml");
std::vector<std::string> current_test_names;
@@ -192,8 +191,7 @@ class UnitTestLauncherDelegate : public TestLauncherDelegate {
// per run to ensure clean state and make it possible to launch multiple
// processes in parallel.
base::FilePath output_file;
- CHECK(file_util::CreateNewTempDirectory(FilePath::StringType(),
- &output_file));
+ CHECK(CreateNewTempDirectory(FilePath::StringType(), &output_file));
output_file = output_file.AppendASCII("test_results.xml");
CommandLine cmd_line(