Home
last modified time | relevance | path

Searched refs:meta_table_ (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/browser/webdata/
Dweb_database.cc112 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 …]
Dweb_database_table.h18 : db_(db), meta_table_(meta_table) {} in WebDatabaseTable()
21 meta_table_ = NULL; in ~WebDatabaseTable()
35 sql::MetaTable* meta_table_; variable
Dkeyword_table.cc211 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()
Dweb_database.h51 sql::MetaTable meta_table_; variable
/external/chromium/chrome/browser/history/
Dhistory_database.cc114 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 …]
Darchived_database.cc52 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()
Dthumbnail_database.cc78 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()
Darchived_database.h57 sql::MetaTable meta_table_; variable
Dtop_sites_database.h100 sql::MetaTable meta_table_; variable
Dtext_database.h159 sql::MetaTable meta_table_; variable
Dhistory_database.h172 sql::MetaTable meta_table_; variable
Dtext_database.cc152 if (!meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber)) in Init()
154 if (meta_table_.GetCompatibleVersionNumber() > kCurrentVersionNumber) { in Init()
Dtop_sites_database.cc54 if (!meta_table_.Init(db_.get(), kVersionNumber, kVersionNumber)) in Init()
61 if (meta_table_.GetVersionNumber() != kVersionNumber) in Init()
Dthumbnail_database.h274 sql::MetaTable meta_table_; variable
/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store.cc140 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/
Dlogin_database.cc66 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()
Dlogin_database.h100 sql::MetaTable meta_table_; variable