/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 | 612 meta_table_.Reset(); in Init() 1197 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in InitImpl() 1206 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in InitImpl() 1211 int cur_version = meta_table_.GetVersionNumber(); in InitImpl() 1293 meta_table_.SetVersionNumber(6); in UpgradeToVersion6() 1294 meta_table_.SetCompatibleVersionNumber(std::min(6, kCompatibleVersionNumber)); in UpgradeToVersion6() 1316 meta_table_.SetVersionNumber(7); in UpgradeToVersion7() 1317 meta_table_.SetCompatibleVersionNumber(std::min(7, kCompatibleVersionNumber)); in UpgradeToVersion7()
|
D | top_sites_database.cc | 371 meta_table_.Reset(); in Init() 403 if (!meta_table_.Init(db_.get(), kVersionNumber, kVersionNumber)) in InitImpl() 409 if (meta_table_.GetVersionNumber() == 2) { in InitImpl() 417 if (meta_table_.GetVersionNumber() != kVersionNumber) in InitImpl() 434 meta_table_.SetVersionNumber(3); in UpgradeToVersion3()
|
D | top_sites_database.h | 104 sql::MetaTable meta_table_; variable
|
D | history_database.h | 188 sql::MetaTable meta_table_; variable
|
D | shortcuts_database.h | 130 sql::MetaTable meta_table_; variable
|
D | thumbnail_database.h | 269 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() 167 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 | 63 sql::MetaTable meta_table_; variable
|
/external/chromium_org/webkit/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/chrome/browser/net/ |
D | sqlite_server_bound_cert_store.cc | 118 sql::MetaTable meta_table_; member in SQLiteServerBoundCertStore::Backend 223 meta_table_.Reset(); in LoadOnDBThread() 237 meta_table_.Reset(); in LoadOnDBThread() 274 if (!meta_table_.Init( in EnsureDatabaseVersion() 279 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureDatabaseVersion() 284 int cur_version = meta_table_.GetVersionNumber(); in EnsureDatabaseVersion() 303 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion() 304 meta_table_.SetCompatibleVersionNumber( in EnsureDatabaseVersion() 382 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion() 383 meta_table_.SetCompatibleVersionNumber( in EnsureDatabaseVersion() [all …]
|
/external/chromium_org/chrome/browser/webdata/ |
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 | 134 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in Init() 139 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init() 171 switch (meta_table_.GetVersionNumber()) { in MigrateOldVersionsAsNeeded() 179 meta_table_.SetVersionNumber(2); in MigrateOldVersionsAsNeeded() 185 meta_table_.SetVersionNumber(3); in MigrateOldVersionsAsNeeded() 194 meta_table_.SetVersionNumber(4); in MigrateOldVersionsAsNeeded() 201 meta_table_.SetVersionNumber(5); in MigrateOldVersionsAsNeeded() 208 meta_table_.SetVersionNumber(6); in MigrateOldVersionsAsNeeded() 692 meta_table_.Reset(); in DeleteAndRecreateDatabaseFile()
|
D | login_database.h | 147 sql::MetaTable meta_table_; variable
|
/external/chromium_org/webkit/browser/appcache/ |
D | appcache_database.cc | 1006 meta_table_.reset(new sql::MetaTable); in LazyOpen() 1048 if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion)) in EnsureDatabaseVersion() 1051 if (meta_table_->GetCompatibleVersionNumber() > kCurrentVersion) { in EnsureDatabaseVersion() 1057 meta_table_->GetValue(kExperimentFlagsKey, &stored_flags); in EnsureDatabaseVersion() 1061 if (meta_table_->GetVersionNumber() < kCurrentVersion) in EnsureDatabaseVersion() 1082 if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion)) in CreateSchema() 1085 if (!meta_table_->SetValue(kExperimentFlagsKey, in CreateSchema() 1107 if (meta_table_->GetVersionNumber() == 3) { in UpgradeSchema() 1153 meta_table_->SetVersionNumber(4); in UpgradeSchema() 1154 meta_table_->SetCompatibleVersionNumber(4); in UpgradeSchema() [all …]
|
D | appcache_database.h | 225 scoped_ptr<sql::MetaTable> meta_table_; variable
|
/external/chromium_org/webkit/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
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_database_unittest.cc | 168 EXPECT_TRUE(db.meta_table_->SetValue(kExperimentFlagsKey, kInjectedFlags)); in TEST() 170 EXPECT_TRUE(db.meta_table_->GetValue(kExperimentFlagsKey, &flags)); in TEST() 180 EXPECT_TRUE(db.meta_table_->GetValue(kExperimentFlagsKey, &flags)); in TEST() 948 EXPECT_EQ(5, db.meta_table_->GetVersionNumber()); in TEST() 949 EXPECT_EQ(5, db.meta_table_->GetCompatibleVersionNumber()); in TEST() 1182 EXPECT_EQ(5, db.meta_table_->GetVersionNumber()); in TEST() 1183 EXPECT_EQ(5, db.meta_table_->GetCompatibleVersionNumber()); in TEST()
|