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

Unified Diff: chrome/browser/history/android/android_provider_backend_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/history/android/android_provider_backend_unittest.cc
diff --git a/chrome/browser/history/android/android_provider_backend_unittest.cc b/chrome/browser/history/android/android_provider_backend_unittest.cc
index 74f22008f325005193695ec833d5fc109635897c..06059a766855ed347e47ba32e1a8038b5e151922 100644
--- a/chrome/browser/history/android/android_provider_backend_unittest.cc
+++ b/chrome/browser/history/android/android_provider_backend_unittest.cc
@@ -262,8 +262,8 @@ TEST_F(AndroidProviderBackendTest, UpdateTables) {
// The history_db_name and thumbnail_db_name files should be created by
// HistoryBackend. We need to open the same database files.
- ASSERT_TRUE(file_util::PathExists(history_db_name_));
- ASSERT_TRUE(file_util::PathExists(thumbnail_db_name_));
+ ASSERT_TRUE(base::PathExists(history_db_name_));
+ ASSERT_TRUE(base::PathExists(thumbnail_db_name_));
ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_, NULL,
@@ -412,8 +412,8 @@ TEST_F(AndroidProviderBackendTest, QueryHistoryAndBookmarks) {
// The history_db_name and thumbnail_db_name files should be created by
// HistoryBackend. We need to open the same database files.
- ASSERT_TRUE(file_util::PathExists(history_db_name_));
- ASSERT_TRUE(file_util::PathExists(thumbnail_db_name_));
+ ASSERT_TRUE(base::PathExists(history_db_name_));
+ ASSERT_TRUE(base::PathExists(thumbnail_db_name_));
ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_, NULL,
@@ -1826,8 +1826,8 @@ TEST_F(AndroidProviderBackendTest, QueryWithoutThumbnailDB) {
// The history_db_name and thumbnail_db_name files should be created by
// HistoryBackend. We need to open the same database files.
- ASSERT_TRUE(file_util::PathExists(history_db_name_));
- ASSERT_TRUE(file_util::PathExists(thumbnail_db_name_));
+ ASSERT_TRUE(base::PathExists(history_db_name_));
+ ASSERT_TRUE(base::PathExists(thumbnail_db_name_));
// Only creates the history database
ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
« no previous file with comments | « chrome/browser/google/google_update_settings_posix.cc ('k') | chrome/browser/history/in_memory_url_index_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698