/external/chromium_org/chrome/browser/history/ |
D | history_database.cc | 84 if (!meta_table_.Init(&db_, GetCurrentVersion(), kCompatibleVersionNumber)) in Init() 94 meta_table_.DeleteKey("next_download_id"); in Init() 269 if (!meta_table_.GetValue(kEarlyExpirationThresholdKey, &threshold)) { in GetEarlyExpirationThreshold() 280 meta_table_.SetValue(kEarlyExpirationThresholdKey, in UpdateEarlyExpirationThreshold() 293 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureCurrentVersion() 298 int cur_version = meta_table_.GetVersionNumber(); in EnsureCurrentVersion() 308 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion() 309 meta_table_.SetCompatibleVersionNumber( in EnsureCurrentVersion() 324 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion() 331 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion() [all …]
|
D | thumbnail_database.cc | 609 meta_table_.Reset(); in Init() 1194 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in InitImpl() 1203 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in InitImpl() 1208 int cur_version = meta_table_.GetVersionNumber(); in InitImpl() 1290 meta_table_.SetVersionNumber(6); in UpgradeToVersion6() 1291 meta_table_.SetCompatibleVersionNumber(std::min(6, kCompatibleVersionNumber)); in UpgradeToVersion6() 1313 meta_table_.SetVersionNumber(7); in UpgradeToVersion7() 1314 meta_table_.SetCompatibleVersionNumber(std::min(7, kCompatibleVersionNumber)); in UpgradeToVersion7()
|
D | top_sites_database.cc | 374 meta_table_.Reset(); in Init() 406 if (!meta_table_.Init(db_.get(), kVersionNumber, kVersionNumber)) in InitImpl() 412 if (meta_table_.GetVersionNumber() == 2) { in InitImpl() 420 if (meta_table_.GetVersionNumber() != kVersionNumber) in InitImpl() 437 meta_table_.SetVersionNumber(3); in UpgradeToVersion3()
|
D | top_sites_database.h | 103 sql::MetaTable meta_table_; variable
|
D | history_database.h | 187 sql::MetaTable meta_table_; variable
|
D | shortcuts_database.h | 130 sql::MetaTable meta_table_; variable
|
D | thumbnail_database.h | 271 sql::MetaTable meta_table_; variable
|
D | shortcuts_database.cc | 259 meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber); in EnsureTable()
|
/external/chromium_org/components/webdata/common/ |
D | web_database.cc | 96 if (!meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber)) in Init() 98 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init() 105 it->second->Init(&db_, &meta_table_); in Init() 133 int current_version = std::max(meta_table_.GetVersionNumber(), in MigrateOldVersionsAsNeeded() 134 meta_table_.GetCompatibleVersionNumber()); in MigrateOldVersionsAsNeeded() 135 if (current_version > meta_table_.GetVersionNumber()) in MigrateOldVersionsAsNeeded() 136 ChangeVersion(&meta_table_, current_version, false); in MigrateOldVersionsAsNeeded() 164 ChangeVersion(&meta_table_, next_version, update_compatible_version); in MigrateOldVersionsAsNeeded() 175 ChangeVersion(&meta_table_, next_version, update_compatible_version); in MigrateOldVersionsAsNeeded()
|
D | web_database_table.cc | 7 WebDatabaseTable::WebDatabaseTable() : db_(NULL), meta_table_(NULL) {} in WebDatabaseTable() 12 meta_table_ = meta_table; in Init()
|
D | web_database_table.h | 61 sql::MetaTable* meta_table_; variable
|
D | web_database.h | 75 sql::MetaTable meta_table_; variable
|
/external/chromium_org/storage/browser/quota/ |
D | quota_database.cc | 138 meta_table_.reset(); in CloseConnection() 318 return meta_table_->GetValue(key, value); in GetQuotaConfigValue() 325 return meta_table_->SetValue(key, value); in SetQuotaConfigValue() 384 return meta_table_->GetValue(kIsOriginTableBootstrapped, &flag) && flag; in IsOriginDatabaseBootstrapped() 391 return meta_table_->SetValue(kIsOriginTableBootstrapped, bootstrap_flag); in SetOriginDatabaseBootstrapped() 449 meta_table_.reset(new sql::MetaTable); in LazyOpen() 468 meta_table_.reset(); in LazyOpen() 482 return CreateSchema(db_.get(), meta_table_.get(), in EnsureDatabaseVersion() 487 if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion)) in EnsureDatabaseVersion() 490 if (meta_table_->GetCompatibleVersionNumber() > kCurrentVersion) { in EnsureDatabaseVersion() [all …]
|
D | quota_database.h | 173 scoped_ptr<sql::MetaTable> meta_table_; variable
|
/external/chromium_org/content/browser/net/ |
D | sqlite_persistent_cookie_store.cc | 218 sql::MetaTable meta_table_; member in content::SQLitePersistentCookieStore::Backend 585 meta_table_.Reset(); in InitializeDatabase() 594 meta_table_.Reset(); in InitializeDatabase() 614 meta_table_.Reset(); in InitializeDatabase() 712 meta_table_.Reset(); in LoadCookiesForDomains() 761 if (!meta_table_.Init( in EnsureDatabaseVersion() 766 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureDatabaseVersion() 771 int cur_version = meta_table_.GetVersionNumber(); in EnsureDatabaseVersion() 783 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion() 784 meta_table_.SetCompatibleVersionNumber( in EnsureDatabaseVersion() [all …]
|
D | sqlite_persistent_cookie_store_unittest.cc | 216 sql::MetaTable meta_table_; in TEST_F() local 217 meta_table_.Init(&db, 1, 1); in TEST_F()
|
/external/chromium_org/net/extras/sqlite/ |
D | sqlite_channel_id_store.cc | 143 sql::MetaTable meta_table_; member in net::SQLiteChannelIDStore::Backend 215 meta_table_.Reset(); in LoadInBackground() 229 meta_table_.Reset(); in LoadInBackground() 266 if (!meta_table_.Init( in EnsureDatabaseVersion() 271 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureDatabaseVersion() 276 int cur_version = meta_table_.GetVersionNumber(); in EnsureDatabaseVersion() 296 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion() 297 meta_table_.SetCompatibleVersionNumber( in EnsureDatabaseVersion() 376 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion() 377 meta_table_.SetCompatibleVersionNumber( in EnsureDatabaseVersion() [all …]
|
/external/chromium_org/components/search_engines/ |
D | keyword_table.cc | 292 return meta_table_->SetValue(kDefaultSearchProviderKey, id); in SetDefaultSearchProviderID() 297 meta_table_->GetValue(kDefaultSearchProviderKey, &value); in GetDefaultSearchProviderID() 302 return meta_table_->SetValue(kBuiltinKeywordVersion, version); in SetBuiltinKeywordVersion() 307 return meta_table_->GetValue(kBuiltinKeywordVersion, &version) ? version : 0; in GetBuiltinKeywordVersion() 382 meta_table_->SetValue("Default Search Provider ID Backup", in MigrateToVersion44AddDefaultSearchProviderBackup() 398 meta_table_->DeleteKey("Default Search Provider Backup"); in MigrateToVersion45RemoveLogoIDAndAutogenerateColumns() 402 meta_table_->SetValue("Default Search Provider ID Backup Signature", in MigrateToVersion45RemoveLogoIDAndAutogenerateColumns() 414 meta_table_->SetValue("Default Search Provider ID Backup Signature", in MigrateToVersion47AddAlternateURLsColumn() 422 meta_table_->DeleteKey("Default Search Provider ID Backup") && in MigrateToVersion48RemoveKeywordsBackup() 423 meta_table_->DeleteKey("Default Search Provider ID Backup Signature") && in MigrateToVersion48RemoveKeywordsBackup()
|
/external/chromium_org/components/password_manager/core/browser/ |
D | login_database.cc | 144 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in Init() 149 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init() 181 switch (meta_table_.GetVersionNumber()) { in MigrateOldVersionsAsNeeded() 189 meta_table_.SetVersionNumber(2); in MigrateOldVersionsAsNeeded() 195 meta_table_.SetVersionNumber(3); in MigrateOldVersionsAsNeeded() 204 meta_table_.SetVersionNumber(4); in MigrateOldVersionsAsNeeded() 211 meta_table_.SetVersionNumber(5); in MigrateOldVersionsAsNeeded() 217 meta_table_.SetVersionNumber(6); in MigrateOldVersionsAsNeeded() 227 meta_table_.SetVersionNumber(7); in MigrateOldVersionsAsNeeded() 765 meta_table_.Reset(); in DeleteAndRecreateDatabaseFile()
|
D | login_database.h | 148 sql::MetaTable meta_table_; variable
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_database.cc | 1008 meta_table_.reset(new sql::MetaTable); in LazyOpen() 1050 if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion)) in EnsureDatabaseVersion() 1053 if (meta_table_->GetCompatibleVersionNumber() > kCurrentVersion) { in EnsureDatabaseVersion() 1059 meta_table_->GetValue(kExperimentFlagsKey, &stored_flags); in EnsureDatabaseVersion() 1063 if (meta_table_->GetVersionNumber() < kCurrentVersion) in EnsureDatabaseVersion() 1084 if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion)) in CreateSchema() 1087 if (!meta_table_->SetValue(kExperimentFlagsKey, in CreateSchema() 1109 if (meta_table_->GetVersionNumber() == 3) { in UpgradeSchema() 1155 meta_table_->SetVersionNumber(4); in UpgradeSchema() 1156 meta_table_->SetCompatibleVersionNumber(4); in UpgradeSchema() [all …]
|
D | appcache_database_unittest.cc | 162 EXPECT_TRUE(db.meta_table_->SetValue(kExperimentFlagsKey, kInjectedFlags)); in TEST() 164 EXPECT_TRUE(db.meta_table_->GetValue(kExperimentFlagsKey, &flags)); in TEST() 174 EXPECT_TRUE(db.meta_table_->GetValue(kExperimentFlagsKey, &flags)); in TEST() 942 EXPECT_EQ(5, db.meta_table_->GetVersionNumber()); in TEST() 943 EXPECT_EQ(5, db.meta_table_->GetCompatibleVersionNumber()); in TEST() 1176 EXPECT_EQ(5, db.meta_table_->GetVersionNumber()); in TEST() 1177 EXPECT_EQ(5, db.meta_table_->GetCompatibleVersionNumber()); in TEST()
|
D | appcache_database.h | 222 scoped_ptr<sql::MetaTable> meta_table_; variable
|
/external/chromium_org/storage/browser/database/ |
D | database_tracker.cc | 262 meta_table_.reset(NULL); in CloseTrackerDatabaseAndClearCaches() 448 DCHECK(!meta_table_.get()); in LazyInit() 480 meta_table_.reset(new sql::MetaTable()); in LazyInit() 490 meta_table_.reset(NULL); in LazyInit() 500 !meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion) || in UpgradeToCurrentVersion() 501 (meta_table_->GetCompatibleVersionNumber() > kCurrentVersion) || in UpgradeToCurrentVersion() 505 if (meta_table_->GetVersionNumber() < kCurrentVersion) in UpgradeToCurrentVersion() 506 meta_table_->SetVersionNumber(kCurrentVersion); in UpgradeToCurrentVersion()
|
D | database_tracker.h | 283 scoped_ptr<sql::MetaTable> meta_table_; variable
|