Home
last modified time | relevance | path

Searched refs:DoesTableExist (Results 1 – 22 of 22) sorted by relevance

/external/chromium/app/sql/
Dconnection_unittest.cc76 EXPECT_FALSE(db().DoesTableExist("foo")); in TEST_F()
78 EXPECT_TRUE(db().DoesTableExist("foo")); in TEST_F()
81 EXPECT_FALSE(db().DoesTableExist("FOO")); in TEST_F()
Dmeta_table.cc25 bool MetaTable::DoesTableExist(sql::Connection* db) { in DoesTableExist() function in sql::MetaTable
27 return db->DoesTableExist("meta"); in DoesTableExist()
33 if (!DoesTableExist(db)) { in Init()
Dmeta_table.h24 static bool DoesTableExist(Connection* db);
Dconnection.cc131 if (!DoesTableExist("meta")) in Preload()
259 bool Connection::DoesTableExist(const char* table_name) const { in DoesTableExist() function in sql::Connection
Dconnection.h248 bool DoesTableExist(const char* table_name) const;
/external/chromium/chrome/browser/webdata/
Dweb_database_migration_unittest.cc305 EXPECT_TRUE(connection.DoesTableExist("meta")); in TEST_F()
306 EXPECT_TRUE(connection.DoesTableExist("keywords")); in TEST_F()
307 EXPECT_TRUE(connection.DoesTableExist("logins")); in TEST_F()
308 EXPECT_TRUE(connection.DoesTableExist("web_app_icons")); in TEST_F()
309 EXPECT_TRUE(connection.DoesTableExist("web_apps")); in TEST_F()
310 EXPECT_TRUE(connection.DoesTableExist("autofill")); in TEST_F()
311 EXPECT_TRUE(connection.DoesTableExist("autofill_dates")); in TEST_F()
312 EXPECT_TRUE(connection.DoesTableExist("autofill_profiles")); in TEST_F()
313 EXPECT_TRUE(connection.DoesTableExist("credit_cards")); in TEST_F()
314 EXPECT_TRUE(connection.DoesTableExist("token_service")); in TEST_F()
[all …]
Dweb_apps_table.cc23 if (!db_->DoesTableExist("web_app_icons")) { in InitWebAppIconsTable()
37 if (!db_->DoesTableExist("web_apps")) { in InitWebAppsTable()
Dtoken_service_table.cc15 if (!db_->DoesTableExist("token_service")) { in Init()
Dlogins_table.cc54 if (!db_->DoesTableExist("logins")) { in Init()
83 if (!db_->DoesTableExist("ie7_logins")) { in Init()
Dautofill_table.cc1423 if (!db_->DoesTableExist("autofill")) { in InitMainTable()
1447 if (!db_->DoesTableExist("credit_cards")) { in InitCreditCardsTable()
1464 if (!db_->DoesTableExist("autofill_dates")) { in InitDatesTable()
1481 if (!db_->DoesTableExist("autofill_profiles")) { in InitProfilesTable()
1501 if (!db_->DoesTableExist("autofill_profile_names")) { in InitProfileNamesTable()
1515 if (!db_->DoesTableExist("autofill_profile_emails")) { in InitProfileEmailsTable()
1527 if (!db_->DoesTableExist("autofill_profile_phones")) { in InitProfilePhonesTable()
1540 if (!db_->DoesTableExist("autofill_profiles_trash")) { in InitProfileTrashTable()
1934 if (!db_->DoesTableExist("autofill_profiles_temp")) { in MigrateToVersion33ProfilesBasedOnFirstName()
Dkeyword_table.cc63 if (!db_->DoesTableExist("keywords")) { in Init()
/external/chromium/chrome/browser/history/
Dvisitsegment_database.cc45 if (!GetDB().DoesTableExist("segments")) { in InitSegmentTables()
66 if (!GetDB().DoesTableExist("segment_usage")) { in InitSegmentTables()
94 if (!GetDB().DoesTableExist("presentation")) { in InitSegmentTables()
Dtext_database.cc178 if (!db_.DoesTableExist("pages")) { in CreateTables()
190 if (!db_.DoesTableExist("info")) { in CreateTables()
Dthumbnail_database.cc148 if (!db_.DoesTableExist("thumbnails")) { in InitThumbnailTable()
198 if (!db->DoesTableExist(name)) { in InitFaviconsTable()
701 if (!db->DoesTableExist(name)) { in InitIconMappingTable()
Dtop_sites_database.cc35 bool does_meta_exist = sql::MetaTable::DoesTableExist(db_.get()); in Init()
68 if (!db_->DoesTableExist("thumbnails")) { in InitThumbnailTable()
Durl_database.cc380 if (!GetDB().DoesTableExist("keyword_search_terms")) { in InitKeywordSearchTermsTable()
534 if (GetDB().DoesTableExist(name)) in CreateURLTable()
Ddownload_database.cc64 if (!GetDB().DoesTableExist("downloads")) { in InitDownloadTable()
Dvisit_database.cc32 if (!GetDB().DoesTableExist("visits")) { in InitVisitTable()
59 if (!GetDB().DoesTableExist("visit_source")) { in InitVisitTable()
Dstarred_url_database.cc92 if (!GetDB().DoesTableExist("starred")) in MigrateBookmarksToFile()
/external/chromium/chrome/browser/sync/syncable/
Ddirectory_backing_store_unittest.cc1059 ASSERT_FALSE(connection.DoesTableExist("models")); in TEST_F()
1079 ASSERT_TRUE(connection.DoesTableExist("models")); in TEST_F()
1105 ASSERT_TRUE(connection.DoesTableExist("extended_attributes")); in TEST_F()
1120 ASSERT_FALSE(connection.DoesTableExist("extended_attributes")); in TEST_F()
1307 ASSERT_FALSE(connection.DoesTableExist("extended_attributes")); in TEST_P()
/external/chromium/chrome/browser/password_manager/
Dlogin_database.cc106 if (!db_.DoesTableExist("logins")) { in InitLoginsTable()
/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store.cc173 if (!db->DoesTableExist("cookies")) { in InitTable()