/external/chromium/chrome/browser/webdata/ |
D | web_database.cc | 112 if (!meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber)) in Init() 114 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init() 120 autofill_table_.reset(new AutofillTable(&db_, &meta_table_)); in Init() 121 keyword_table_.reset(new KeywordTable(&db_, &meta_table_)); in Init() 122 logins_table_.reset(new LoginsTable(&db_, &meta_table_)); in Init() 123 token_service_table_.reset(new TokenServiceTable(&db_, &meta_table_)); in Init() 124 web_apps_table_.reset(new WebAppsTable(&db_, &meta_table_)); in Init() 146 int current_version = meta_table_.GetVersionNumber(); in MigrateOldVersionsAsNeeded() 166 ChangeVersion(&meta_table_, 21, true); in MigrateOldVersionsAsNeeded() 173 ChangeVersion(&meta_table_, 22, false); in MigrateOldVersionsAsNeeded() [all …]
|
D | web_database_table.h | 18 : db_(db), meta_table_(meta_table) {} in WebDatabaseTable() 21 meta_table_ = NULL; in ~WebDatabaseTable() 35 sql::MetaTable* meta_table_; variable
|
D | keyword_table.cc | 211 return meta_table_->SetValue(kDefaultSearchProviderKey, id); in SetDefaultSearchProviderID() 216 meta_table_->GetValue(kDefaultSearchProviderKey, &value); in GetDefaulSearchProviderID() 221 return meta_table_->SetValue(kBuiltinKeywordVersion, version); in SetBuitinKeywordVersion() 226 meta_table_->GetValue(kBuiltinKeywordVersion, &version); in GetBuitinKeywordVersion()
|
D | web_database.h | 51 sql::MetaTable meta_table_; variable
|
/external/chromium/chrome/browser/history/ |
D | history_database.cc | 114 if (!meta_table_.Init(&db_, GetCurrentVersion(), kCompatibleVersionNumber)) in Init() 181 meta_table_.SetValue(kNeedsThumbnailMigrationKey, 0); in ThumbnailMigrationDone() 186 return (meta_table_.GetValue(kNeedsThumbnailMigrationKey, &value) && in GetNeedsThumbnailMigration() 226 if (!meta_table_.GetValue(kEarlyExpirationThresholdKey, &threshold)) { in GetEarlyExpirationThreshold() 237 meta_table_.SetValue(kEarlyExpirationThresholdKey, in UpdateEarlyExpirationThreshold() 251 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureCurrentVersion() 262 int cur_version = meta_table_.GetVersionNumber(); in EnsureCurrentVersion() 273 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion() 274 meta_table_.SetCompatibleVersionNumber( in EnsureCurrentVersion() 289 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion() [all …]
|
D | archived_database.cc | 52 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in Init() 91 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureCurrentVersion() 102 int cur_version = meta_table_.GetVersionNumber(); in EnsureCurrentVersion() 109 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion() 110 meta_table_.SetCompatibleVersionNumber( in EnsureCurrentVersion() 117 meta_table_.SetVersionNumber(cur_version); in EnsureCurrentVersion()
|
D | thumbnail_database.cc | 78 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in Init() 91 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init() 96 int cur_version = meta_table_.GetVersionNumber(); in Init() 156 meta_table_.SetVersionNumber(3); in UpgradeToVersion3() 157 meta_table_.SetCompatibleVersionNumber( in UpgradeToVersion3() 179 meta_table_.SetVersionNumber(3); in UpgradeToVersion3() 180 meta_table_.SetCompatibleVersionNumber(std::min(3, kCompatibleVersionNumber)); in UpgradeToVersion3() 756 meta_table_.SetVersionNumber(4); in UpgradeToVersion4() 757 meta_table_.SetCompatibleVersionNumber(std::min(4, kCompatibleVersionNumber)); in UpgradeToVersion4()
|
D | archived_database.h | 57 sql::MetaTable meta_table_; variable
|
D | top_sites_database.h | 100 sql::MetaTable meta_table_; variable
|
D | text_database.h | 159 sql::MetaTable meta_table_; variable
|
D | history_database.h | 172 sql::MetaTable meta_table_; variable
|
D | text_database.cc | 152 if (!meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber)) in Init() 154 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init()
|
D | top_sites_database.cc | 54 if (!meta_table_.Init(db_.get(), kVersionNumber, kVersionNumber)) in Init() 61 if (meta_table_.GetVersionNumber() != kVersionNumber) in Init()
|
D | thumbnail_database.h | 274 sql::MetaTable meta_table_; variable
|
/external/chromium/chrome/browser/net/ |
D | sqlite_persistent_cookie_store.cc | 140 sql::MetaTable meta_table_; member in SQLitePersistentCookieStore::Backend 287 if (!meta_table_.Init( in EnsureDatabaseVersion() 292 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in EnsureDatabaseVersion() 297 int cur_version = meta_table_.GetVersionNumber(); in EnsureDatabaseVersion() 309 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion() 310 meta_table_.SetCompatibleVersionNumber( in EnsureDatabaseVersion() 345 meta_table_.SetVersionNumber(cur_version); in EnsureDatabaseVersion()
|
/external/chromium/chrome/browser/password_manager/ |
D | login_database.cc | 66 if (!meta_table_.Init(&db_, kCurrentVersionNumber, in Init() 71 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init() 98 switch (meta_table_.GetVersionNumber()) { in MigrateOldVersionsAsNeeded() 403 meta_table_.Reset(); in DeleteAndRecreateDatabaseFile()
|
D | login_database.h | 100 sql::MetaTable meta_table_; variable
|