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

Unified Diff: chrome/browser/extensions/extension_creator_filter_unittest.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/extensions/extension_creator_filter_unittest.cc
diff --git a/chrome/browser/extensions/extension_creator_filter_unittest.cc b/chrome/browser/extensions/extension_creator_filter_unittest.cc
index 61a1f668386ec1740fcb296a4303d9775e91dbdb..bcb8117768ab0749680ad173f4b5bc575e55af53 100644
--- a/chrome/browser/extensions/extension_creator_filter_unittest.cc
+++ b/chrome/browser/extensions/extension_creator_filter_unittest.cc
@@ -25,7 +25,7 @@ class ExtensionCreatorFilterTest : public PlatformTest {
base::FilePath CreateEmptyTestFile(const base::FilePath& file_path) {
base::FilePath test_file(test_dir_.Append(file_path));
base::FilePath temp_file;
- EXPECT_TRUE(file_util::CreateTemporaryFileInDir(test_dir_, &temp_file));
+ EXPECT_TRUE(base::CreateTemporaryFileInDir(test_dir_, &temp_file));
EXPECT_TRUE(base::Move(temp_file, test_file));
return test_file;
}
@@ -37,7 +37,7 @@ class ExtensionCreatorFilterTest : public PlatformTest {
base::FilePath test_file(temp_sub_dir.Append(file_name));
EXPECT_TRUE(file_util::CreateDirectory(temp_sub_dir));
base::FilePath temp_file;
- EXPECT_TRUE(file_util::CreateTemporaryFileInDir(temp_sub_dir, &temp_file));
+ EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_sub_dir, &temp_file));
EXPECT_TRUE(base::Move(temp_file, test_file));
return test_file;
}

Powered by Google App Engine
This is Rietveld 408576698