Home
last modified time | relevance | path

Searched refs:MetaTable (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/sql/
Dmeta_table.cc55 MetaTable::MetaTable() : db_(NULL) { in MetaTable() function in sql::MetaTable
58 MetaTable::~MetaTable() { in ~MetaTable()
62 bool MetaTable::DoesTableExist(sql::Connection* db) { in DoesTableExist()
68 void MetaTable::RazeIfDeprecated(Connection* db, int deprecated_version) { in RazeIfDeprecated()
115 bool MetaTable::Init(Connection* db, int version, int compatible_version) { in Init()
145 void MetaTable::Reset() { in Reset()
149 void MetaTable::SetVersionNumber(int version) { in SetVersionNumber()
154 int MetaTable::GetVersionNumber() { in GetVersionNumber()
159 void MetaTable::SetCompatibleVersionNumber(int version) { in SetCompatibleVersionNumber()
164 int MetaTable::GetCompatibleVersionNumber() { in GetCompatibleVersionNumber()
[all …]
Dmeta_table_unittest.cc34 EXPECT_FALSE(sql::MetaTable::DoesTableExist(&db())); in TEST_F()
37 sql::MetaTable meta_table; in TEST_F()
41 EXPECT_TRUE(sql::MetaTable::DoesTableExist(&db())); in TEST_F()
50 sql::MetaTable meta_table; in TEST_F()
57 sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion); in TEST_F()
66 sql::MetaTable meta_table; in TEST_F()
70 sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion); in TEST_F()
75 sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion); in TEST_F()
80 sql::MetaTable meta_table; in TEST_F()
86 sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion); in TEST_F()
[all …]
Dmeta_table.h18 class SQL_EXPORT MetaTable {
20 MetaTable();
21 ~MetaTable();
96 DISALLOW_COPY_AND_ASSIGN(MetaTable);
/external/chromium_org/components/webdata/common/
Dweb_database_migration_unittest.cc139 void CheckHasBackupData(sql::MetaTable* meta_table) { in CheckHasBackupData()
148 sql::MetaTable* meta_table) { in CheckNoBackupData()
1596 ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection)); in TEST_F()
1598 sql::MetaTable meta_table; in TEST_F()
1615 ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection)); in TEST_F()
1620 sql::MetaTable meta_table; in TEST_F()
1642 ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection)); in TEST_F()
1644 sql::MetaTable meta_table; in TEST_F()
1661 ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection)); in TEST_F()
1666 sql::MetaTable meta_table; in TEST_F()
[all …]
Dweb_database_table.h13 class MetaTable; variable
33 void Init(sql::Connection* db, sql::MetaTable* meta_table);
61 sql::MetaTable* meta_table_;
Dweb_database_table.cc10 void WebDatabaseTable::Init(sql::Connection* db, sql::MetaTable* meta_table) { in Init()
Dweb_database.h75 sql::MetaTable meta_table_;
Dweb_database.cc25 void ChangeVersion(sql::MetaTable* meta_table, in ChangeVersion()
/external/chromium_org/storage/browser/quota/
Dquota_database.h28 class MetaTable; variable
161 sql::MetaTable* meta_table,
173 scoped_ptr<sql::MetaTable> meta_table_;
Dquota_database.cc449 meta_table_.reset(new sql::MetaTable); in LazyOpen()
481 if (!sql::MetaTable::DoesTableExist(db_.get())) in EnsureDatabaseVersion()
501 DCHECK(sql::MetaTable::DoesTableExist(db_.get())); in EnsureDatabaseVersion()
513 sql::MetaTable* meta_table, in CreateSchema()
/external/chromium_org/chrome/browser/history/
Dtop_sites_database.h103 sql::MetaTable meta_table_;
Dhistory_database.h187 sql::MetaTable meta_table_;
Dshortcuts_database.h130 sql::MetaTable meta_table_;
Dtop_sites_database.cc250 sql::MetaTable recover_meta_table; in RecoverDatabaseOrRaze()
389 const bool does_meta_exist = sql::MetaTable::DoesTableExist(db_.get()); in InitImpl()
397 sql::MetaTable::RazeIfDeprecated(db_.get(), kDeprecatedVersionNumber); in InitImpl()
Dthumbnail_database.h271 sql::MetaTable meta_table_;
Dshortcuts_database.cc258 if (!sql::MetaTable::DoesTableExist(&db_)) { in EnsureTable()
Dthumbnail_database.cc458 sql::MetaTable recover_meta_table; in RecoverDatabaseOrRaze()
1159 sql::MetaTable::RazeIfDeprecated(&db_, kDeprecatedVersionNumber); in InitImpl()
/external/chromium_org/components/password_manager/core/browser/
Dlogin_database.h148 sql::MetaTable meta_table_;
/external/chromium_org/content/browser/appcache/
Dappcache_database.h23 class MetaTable; variable
222 scoped_ptr<sql::MetaTable> meta_table_;
Dappcache_database.cc1008 meta_table_.reset(new sql::MetaTable); in LazyOpen()
1047 if (!sql::MetaTable::DoesTableExist(db_.get())) in EnsureDatabaseVersion()
1067 DCHECK(sql::MetaTable::DoesTableExist(db_.get())); in EnsureDatabaseVersion()
/external/chromium_org/storage/browser/database/
Ddatabase_tracker.h36 class MetaTable; variable
283 scoped_ptr<sql::MetaTable> meta_table_;
Ddatabase_tracker.cc471 !sql::MetaTable::DoesTableExist(db_.get()))) { in LazyInit()
480 meta_table_.reset(new sql::MetaTable()); in LazyInit()
/external/chromium_org/content/browser/quota/
Dquota_database_unittest.cc435 scoped_ptr<sql::MetaTable> meta_table(new sql::MetaTable); in CreateV2Database()
/external/chromium_org/net/extras/sqlite/
Dsqlite_channel_id_store.cc143 sql::MetaTable meta_table_;
/external/chromium_org/content/browser/net/
Dsqlite_persistent_cookie_store_unittest.cc216 sql::MetaTable meta_table_; in TEST_F()

12