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

Unified Diff: chrome/browser/extensions/extension_service_unittest.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the 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
« no previous file with comments | « chrome/browser/extensions/extension_creator.cc ('k') | chrome/browser/extensions/platform_app_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service_unittest.cc
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
index 2541e0a566b97b8b4ae70ed5eacb7858a218f73e..5121e67e748c576621606f233ef68647790538eb 100644
--- a/chrome/browser/extensions/extension_service_unittest.cc
+++ b/chrome/browser/extensions/extension_service_unittest.cc
@@ -4072,7 +4072,7 @@ TEST_F(ExtensionServiceTest, ClearExtensionData) {
base::MessageLoop::current()->message_loop_proxy().get());
base::FilePath idb_path = idb_context->GetFilePathForTesting(origin_id);
EXPECT_TRUE(file_util::CreateDirectory(idb_path));
- EXPECT_TRUE(file_util::DirectoryExists(idb_path));
+ EXPECT_TRUE(base::DirectoryExists(idb_path));
// Uninstall the extension.
service_->UninstallExtension(good_crx, false, NULL);
@@ -4095,7 +4095,7 @@ TEST_F(ExtensionServiceTest, ClearExtensionData) {
EXPECT_FALSE(base::PathExists(lso_file_path));
// Check if the indexed db has disappeared too.
- EXPECT_FALSE(file_util::DirectoryExists(idb_path));
+ EXPECT_FALSE(base::DirectoryExists(idb_path));
}
// Verifies app state is removed upon uninstall.
@@ -4189,7 +4189,7 @@ TEST_F(ExtensionServiceTest, ClearAppData) {
base::MessageLoop::current()->message_loop_proxy().get());
base::FilePath idb_path = idb_context->GetFilePathForTesting(origin_id);
EXPECT_TRUE(file_util::CreateDirectory(idb_path));
- EXPECT_TRUE(file_util::DirectoryExists(idb_path));
+ EXPECT_TRUE(base::DirectoryExists(idb_path));
// Uninstall one of them, unlimited storage should still be granted
// to the origin.
@@ -4229,7 +4229,7 @@ TEST_F(ExtensionServiceTest, ClearAppData) {
EXPECT_FALSE(base::PathExists(lso_file_path));
// Check if the indexed db has disappeared too.
- EXPECT_FALSE(file_util::DirectoryExists(idb_path));
+ EXPECT_FALSE(base::DirectoryExists(idb_path));
}
// Tests loading single extensions (like --load-extension)
« no previous file with comments | « chrome/browser/extensions/extension_creator.cc ('k') | chrome/browser/extensions/platform_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698