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

Unified Diff: chrome/browser/extensions/api/storage/settings_frontend_unittest.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
Index: chrome/browser/extensions/api/storage/settings_frontend_unittest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_frontend_unittest.cc b/chrome/browser/extensions/api/storage/settings_frontend_unittest.cc
index 97055316d597839f22a2f2f17007873562fbcae0..fe0f6604d365f72be795c0e87c96cc3798239b7c 100644
--- a/chrome/browser/extensions/api/storage/settings_frontend_unittest.cc
+++ b/chrome/browser/extensions/api/storage/settings_frontend_unittest.cc
@@ -165,7 +165,7 @@ TEST_F(ExtensionSettingsFrontendTest, LeveldbDatabaseDeletedFromDiskOnClear) {
StringValue bar("bar");
ValueStore::WriteResult result = storage->Set(DEFAULTS, "foo", bar);
ASSERT_FALSE(result->HasError());
- EXPECT_TRUE(file_util::PathExists(temp_dir_.path()));
+ EXPECT_TRUE(base::PathExists(temp_dir_.path()));
}
// Should need to both clear the database and delete the frontend for the
@@ -173,7 +173,7 @@ TEST_F(ExtensionSettingsFrontendTest, LeveldbDatabaseDeletedFromDiskOnClear) {
{
ValueStore::WriteResult result = storage->Clear();
ASSERT_FALSE(result->HasError());
- EXPECT_TRUE(file_util::PathExists(temp_dir_.path()));
+ EXPECT_TRUE(base::PathExists(temp_dir_.path()));
}
frontend_.reset();
@@ -181,7 +181,7 @@ TEST_F(ExtensionSettingsFrontendTest, LeveldbDatabaseDeletedFromDiskOnClear) {
// TODO(kalman): Figure out why this fails, despite appearing to work.
// Leaving this commented out rather than disabling the whole test so that the
// deletion code paths are at least exercised.
- //EXPECT_FALSE(file_util::PathExists(temp_dir_.path()));
+ //EXPECT_FALSE(base::PathExists(temp_dir_.path()));
}
TEST_F(ExtensionSettingsFrontendTest,

Powered by Google App Engine
This is Rietveld 408576698