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

Unified Diff: content/public/test/test_launcher.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 | « content/public/test/render_widget_test.h ('k') | courgette/memory_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_launcher.cc
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc
index de0553871f2234097dcbfce7b7f815095e7b9bcf..87a56b618bc80a8991ceab5d44656458d6993eb5 100644
--- a/content/public/test/test_launcher.cc
+++ b/content/public/test/test_launcher.cc
@@ -222,8 +222,8 @@ size_t WrapperTestLauncherDelegate::RunTests(
if (!ContainsKey(user_data_dir_map_, full_name)) {
base::FilePath temp_dir;
- CHECK(file_util::CreateTemporaryDirInDir(
- temp_dir_.path(), FILE_PATH_LITERAL("d"), &temp_dir));
+ CHECK(base::CreateTemporaryDirInDir(temp_dir_.path(),
+ FILE_PATH_LITERAL("d"), &temp_dir));
user_data_dir_map_[full_name] = temp_dir;
}
@@ -278,8 +278,8 @@ size_t WrapperTestLauncherDelegate::RetryTests(
std::string test_name_no_pre(RemoveAnyPrePrefixes(full_name));
if (!ContainsKey(user_data_dir_map_, test_name_no_pre)) {
base::FilePath temp_dir;
- CHECK(file_util::CreateTemporaryDirInDir(
- temp_dir_.path(), FILE_PATH_LITERAL("d"), &temp_dir));
+ CHECK(base::CreateTemporaryDirInDir(temp_dir_.path(),
+ FILE_PATH_LITERAL("d"), &temp_dir));
user_data_dir_map_[test_name_no_pre] = temp_dir;
}
« no previous file with comments | « content/public/test/render_widget_test.h ('k') | courgette/memory_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698