Home
last modified time | relevance | path

Searched refs:LazyOpen (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/webkit/browser/quota/
Dquota_database.cc145 if (!LazyOpen(false)) in GetHostQuota()
167 if (!LazyOpen(true)) in SetHostQuota()
188 if (!LazyOpen(true)) in SetOriginLastAccessTime()
222 if (!LazyOpen(true)) in SetOriginLastModifiedTime()
253 if (!LazyOpen(true)) in RegisterInitialOriginInfo()
276 if (!LazyOpen(false)) in DeleteHostQuota()
296 if (!LazyOpen(false)) in DeleteOriginInfo()
315 if (!LazyOpen(false)) in GetQuotaConfigValue()
322 if (!LazyOpen(true)) in SetQuotaConfigValue()
334 if (!LazyOpen(false)) in GetLRUOrigin()
[all …]
Dquota_database.h154 bool LazyOpen(bool create_if_needed);
/external/chromium_org/webkit/browser/appcache/
Dappcache_database.cc247 if (!LazyOpen(false)) in FindOriginsWithGroups()
272 if (!LazyOpen(false)) in FindLastStorageIds()
309 if (!LazyOpen(false)) in FindGroup()
331 if (!LazyOpen(false)) in FindGroupForManifestUrl()
353 if (!LazyOpen(false)) in FindGroupsForOrigin()
375 if (!LazyOpen(false)) in FindGroupForCache()
396 if (!LazyOpen(true)) in UpdateGroupLastAccessTime()
410 if (!LazyOpen(true)) in InsertGroup()
429 if (!LazyOpen(false)) in DeleteGroup()
443 if (!LazyOpen(false)) in FindCache()
[all …]
Dappcache_database.h34 FORWARD_DECLARE_TEST(AppCacheDatabaseTest, LazyOpen);
181 LazyOpen(true); in db_connection()
209 bool LazyOpen(bool create_if_needed);
238 FRIEND_TEST_ALL_PREFIXES(content::AppCacheDatabaseTest, LazyOpen);
/external/chromium_org/content/browser/quota/
Dquota_database_unittest.cc43 void LazyOpen(const base::FilePath& kDbFile) { in LazyOpen() function in content::QuotaDatabaseTest
45 EXPECT_FALSE(db.LazyOpen(false)); in LazyOpen()
46 ASSERT_TRUE(db.LazyOpen(true)); in LazyOpen()
61 EXPECT_TRUE(db.LazyOpen(true)); in UpgradeSchemaV2toV3()
73 ASSERT_TRUE(db.LazyOpen(true)); in HostQuota()
103 ASSERT_TRUE(db.LazyOpen(true)); in GlobalQuota()
133 ASSERT_TRUE(db.LazyOpen(true)); in OriginLastAccessTimeLRU()
208 ASSERT_TRUE(db.LazyOpen(true)); in OriginLastModifiedSince()
342 EXPECT_TRUE(db.LazyOpen(true)); in DumpQuotaTable()
365 EXPECT_TRUE(db.LazyOpen(true)); in DumpOriginInfoTable()
[all …]
/external/chromium_org/content/browser/appcache/
Dappcache_database_unittest.cc36 TEST(AppCacheDatabaseTest, LazyOpen) { in TEST() argument
41 EXPECT_FALSE(db.LazyOpen(false)); in TEST()
42 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
69 EXPECT_FALSE(db.LazyOpen(false)); in TEST()
70 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
104 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
117 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
133 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
167 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
178 EXPECT_TRUE(db.LazyOpen(false)); in TEST()
[all …]
Dappcache_storage_impl_unittest.cc1691 EXPECT_TRUE(db.LazyOpen(true)); in Reinitialize()
/external/chromium_org/content/browser/dom_storage/
Ddom_storage_database.cc57 if (!LazyOpen(false)) in ReadAllValues()
75 if (!LazyOpen(!changes.empty())) { in CommitChanges()
131 bool DOMStorageDatabase::LazyOpen(bool create_if_needed) { in LazyOpen() function in content::DOMStorageDatabase
256 return LazyOpen(true); in DeleteFileAndRecreate()
Dsession_storage_database.cc111 if (!LazyOpen(false)) in ReadAreaValues()
137 if (!LazyOpen(true)) in CommitAreaChanges()
199 if (!LazyOpen(true)) in CloneNamespace()
226 if (!LazyOpen(false)) { in DeleteArea()
239 if (!LazyOpen(false)) { in DeleteNamespace()
262 if (!LazyOpen(true)) in ReadNamespacesAndOrigins()
322 bool SessionStorageDatabase::LazyOpen(bool create_if_needed) { in LazyOpen() function in content::SessionStorageDatabase
Ddom_storage_database.h80 bool LazyOpen(bool create_if_needed);
Ddom_storage_database_unittest.cc107 ASSERT_TRUE(db.LazyOpen(true)); in TEST()
233 EXPECT_TRUE(db.LazyOpen(true)); in TEST()
291 ASSERT_TRUE(db.LazyOpen(true)); in TEST()
Dsession_storage_database.h89 bool LazyOpen(bool create_if_needed);
Dsession_storage_database_unittest.cc107 ASSERT_TRUE(db_->LazyOpen(true)); in ResetDatabase()
/external/chromium_org/content/browser/service_worker/
Dservice_worker_database.cc327 Status status = LazyOpen(false); in GetNextAvailableIds()
358 Status status = LazyOpen(false); in GetOriginsWithRegistrations()
389 Status status = LazyOpen(false); in GetRegistrationsForOrigin()
430 Status status = LazyOpen(false); in GetAllRegistrations()
471 Status status = LazyOpen(false); in ReadRegistration()
493 Status status = LazyOpen(true); in WriteRegistration()
553 ServiceWorkerDatabase::Status status = LazyOpen(false); in UpdateVersionToActive()
578 ServiceWorkerDatabase::Status status = LazyOpen(false); in UpdateLastCheckTime()
603 Status status = LazyOpen(false); in DeleteRegistration()
692 Status status = LazyOpen(false); in DeleteAllDataForOrigin()
[all …]
Dservice_worker_database_unittest.cc85 database->LazyOpen(false)); in TEST()
87 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true)); in TEST()
90 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(false)); in TEST()
98 database->LazyOpen(false)); in TEST()
100 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true)); in TEST()
105 database->LazyOpen(false)); in TEST()
110 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true)); in TEST()
149 ASSERT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true)); in TEST()
897 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true)); in TEST()
Dservice_worker_database.h199 Status LazyOpen(bool create_if_missing);