Index: chrome/browser/extensions/extension_service_unittest.cc |
=================================================================== |
--- chrome/browser/extensions/extension_service_unittest.cc (revision 97265) |
+++ chrome/browser/extensions/extension_service_unittest.cc (working copy) |
@@ -2761,9 +2761,8 @@ |
IndexedDBContext* idb_context = |
profile_->GetWebKitContext()->indexed_db_context(); |
FilePath idb_path = idb_context->GetIndexedDBFilePath(origin_id); |
- EXPECT_TRUE(file_util::CreateDirectory(idb_path.DirName())); |
- EXPECT_EQ(0, file_util::WriteFile(idb_path, NULL, 0)); |
- EXPECT_TRUE(file_util::PathExists(idb_path)); |
michaeln
2011/08/23 20:39:48
This test was never updated when switching from sq
|
+ EXPECT_TRUE(file_util::CreateDirectory(idb_path)); |
+ EXPECT_TRUE(file_util::DirectoryExists(idb_path)); |
// Uninstall the extension. |
service_->UninstallExtension(good_crx, false, NULL); |
@@ -2786,7 +2785,7 @@ |
EXPECT_FALSE(file_util::PathExists(lso_path)); |
// Check if the indexed db has disappeared too. |
- EXPECT_FALSE(file_util::PathExists(idb_path)); |
+ EXPECT_FALSE(file_util::DirectoryExists(idb_path)); |
} |
// Tests loading single extensions (like --load-extension) |