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

Unified Diff: chrome/installer/util/master_preferences_unittest.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months 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 | « chrome/installer/util/logging_installer.cc ('k') | chrome/installer/util/self_cleaning_temp_dir.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/master_preferences_unittest.cc
diff --git a/chrome/installer/util/master_preferences_unittest.cc b/chrome/installer/util/master_preferences_unittest.cc
index c2cabaeb591561f82acccd2ae7de44aeb5ea3e4e..ec6e1cbda53f411e5d5387a98ab351ad63ce5af9 100644
--- a/chrome/installer/util/master_preferences_unittest.cc
+++ b/chrome/installer/util/master_preferences_unittest.cc
@@ -23,7 +23,7 @@ class MasterPreferencesTest : public testing::Test {
}
virtual void TearDown() {
- EXPECT_TRUE(file_util::Delete(prefs_file_, false));
+ EXPECT_TRUE(base::Delete(prefs_file_, false));
}
const base::FilePath& prefs_file() const { return prefs_file_; }
@@ -41,7 +41,7 @@ struct ExpectedBooleans {
} // namespace
TEST_F(MasterPreferencesTest, NoFileToParse) {
- EXPECT_TRUE(file_util::Delete(prefs_file(), false));
+ EXPECT_TRUE(base::Delete(prefs_file(), false));
installer::MasterPreferences prefs(prefs_file());
EXPECT_FALSE(prefs.read_from_file());
}
@@ -275,7 +275,7 @@ TEST_F(MasterPreferencesTest, GetInstallPreferencesTest) {
}
// Delete temporary prefs file.
- EXPECT_TRUE(file_util::Delete(prefs_file, false));
+ EXPECT_TRUE(base::Delete(prefs_file, false));
// Check that if master prefs doesn't exist, we can still parse the common
// prefs.
« no previous file with comments | « chrome/installer/util/logging_installer.cc ('k') | chrome/installer/util/self_cleaning_temp_dir.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698