Home
last modified time | relevance | path

Searched refs:group_record (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/browser/appcache/
Dappcache_database_unittest.cc691 AppCacheDatabase::GroupRecord group_record; in TEST() local
692 group_record.group_id = 1; in TEST()
693 group_record.manifest_url = kManifestUrl; in TEST()
694 group_record.origin = kOrigin; in TEST()
695 EXPECT_TRUE(db.InsertGroup(&group_record)); in TEST()
706 group_record.group_id = 2; in TEST()
707 group_record.manifest_url = kManifestUrl2; in TEST()
708 group_record.origin = kOrigin; in TEST()
709 EXPECT_TRUE(db.InsertGroup(&group_record)); in TEST()
719 group_record.group_id = 3; in TEST()
[all …]
Dappcache_storage_impl_unittest.cc630 AppCacheDatabase::GroupRecord group_record; in Verify_StoreNewGroup() local
632 EXPECT_TRUE(database()->FindGroup(group_->group_id(), &group_record)); in Verify_StoreNewGroup()
674 AppCacheDatabase::GroupRecord group_record; in Verify_StoreExistingGroup() local
676 EXPECT_TRUE(database()->FindGroup(1, &group_record)); in Verify_StoreExistingGroup()
779 AppCacheDatabase::GroupRecord group_record; in Verify_FailStoreGroup() local
781 EXPECT_FALSE(database()->FindGroup(group_->group_id(), &group_record)); in Verify_FailStoreGroup()
834 AppCacheDatabase::GroupRecord group_record; in Verify_MakeGroupObsolete() local
836 EXPECT_FALSE(database()->FindGroup(1, &group_record)); in Verify_MakeGroupObsolete()
1688 AppCacheDatabase::GroupRecord group_record; in Reinitialize() local
1689 group_record.group_id = 1; in Reinitialize()
[all …]
Dappcache_storage_impl.cc983 AppCacheDatabase::GroupRecord group_record; in FindExactMatch() local
985 !database_->FindGroupForCache(iter->cache_id, &group_record)) { in FindExactMatch()
988 manifest_url_ = group_record.manifest_url; in FindExactMatch()
989 group_id_ = group_record.group_id; in FindExactMatch()
1070 AppCacheDatabase::GroupRecord group_record; in FindFirstValidNamespace() local
1072 !database_->FindGroupForCache(entry_record.cache_id, &group_record)) { in FindFirstValidNamespace()
1075 manifest_url_ = group_record.manifest_url; in FindFirstValidNamespace()
1076 group_id_ = group_record.group_id; in FindFirstValidNamespace()
1174 AppCacheDatabase::GroupRecord group_record; in Run() local
1175 if (!database_->FindGroup(group_id_, &group_record)) { in Run()
[all …]
/external/chromium_org/base/files/
Dfile_util_posix.cc794 struct group *group_record = getgrnam(kAdminGroupNames[i]); in VerifyPathControlledByAdmin() local
795 if (!group_record) { in VerifyPathControlledByAdmin()
801 allowed_group_ids.insert(group_record->gr_gid); in VerifyPathControlledByAdmin()