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

Unified Diff: content/browser/appcache/chrome_appcache_service_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: content/browser/appcache/chrome_appcache_service_unittest.cc
diff --git a/content/browser/appcache/chrome_appcache_service_unittest.cc b/content/browser/appcache/chrome_appcache_service_unittest.cc
index ebcca07393e4336f28cceb145d51f93f761d28ae..11d736e9f34e827ec8e1973faccf288a7b13721a 100644
--- a/content/browser/appcache/chrome_appcache_service_unittest.cc
+++ b/content/browser/appcache/chrome_appcache_service_unittest.cc
@@ -154,8 +154,8 @@ TEST_F(ChromeAppCacheServiceTest, KeepOnDestruction) {
// Create a ChromeAppCacheService and insert data into it
scoped_refptr<ChromeAppCacheService> appcache_service =
CreateAppCacheService(appcache_path, true);
- ASSERT_TRUE(file_util::PathExists(appcache_path));
- ASSERT_TRUE(file_util::PathExists(appcache_path.AppendASCII("Index")));
+ ASSERT_TRUE(base::PathExists(appcache_path));
+ ASSERT_TRUE(base::PathExists(appcache_path.AppendASCII("Index")));
InsertDataIntoAppCache(appcache_service.get());
// Test: delete the ChromeAppCacheService
@@ -166,7 +166,7 @@ TEST_F(ChromeAppCacheServiceTest, KeepOnDestruction) {
appcache_service = CreateAppCacheService(appcache_path, false);
// The directory is still there
- ASSERT_TRUE(file_util::PathExists(appcache_path));
+ ASSERT_TRUE(base::PathExists(appcache_path));
// The appcache data is also there, except the session-only origin.
AppCacheTestHelper appcache_helper;
@@ -191,8 +191,8 @@ TEST_F(ChromeAppCacheServiceTest, SaveSessionState) {
// Create a ChromeAppCacheService and insert data into it
scoped_refptr<ChromeAppCacheService> appcache_service =
CreateAppCacheService(appcache_path, true);
- ASSERT_TRUE(file_util::PathExists(appcache_path));
- ASSERT_TRUE(file_util::PathExists(appcache_path.AppendASCII("Index")));
+ ASSERT_TRUE(base::PathExists(appcache_path));
+ ASSERT_TRUE(base::PathExists(appcache_path.AppendASCII("Index")));
InsertDataIntoAppCache(appcache_service.get());
// Save session state. This should bypass the destruction-time deletion.
@@ -206,7 +206,7 @@ TEST_F(ChromeAppCacheServiceTest, SaveSessionState) {
appcache_service = CreateAppCacheService(appcache_path, false);
// The directory is still there
- ASSERT_TRUE(file_util::PathExists(appcache_path));
+ ASSERT_TRUE(base::PathExists(appcache_path));
// No appcache data was deleted.
AppCacheTestHelper appcache_helper;
« no previous file with comments | « content/browser/accessibility/dump_accessibility_tree_browsertest.cc ('k') | content/browser/download/base_file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698