Searched refs:whitelists (Results 1 – 5 of 5) sorted by relevance
156 const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists) { in InitializeWithDatabaseRecords() argument181 for (size_t i = 0; i < whitelists.size(); ++i) { in InitializeWithDatabaseRecords()182 const AppCacheDatabase::OnlineWhiteListRecord& record = whitelists.at(i); in InitializeWithDatabaseRecords()197 std::vector<AppCacheDatabase::OnlineWhiteListRecord>* whitelists) { in ToDatabaseRecords() argument198 DCHECK(group && cache_record && entries && fallbacks && whitelists); in ToDatabaseRecords()199 DCHECK(entries->empty() && fallbacks->empty() && whitelists->empty()); in ToDatabaseRecords()238 whitelists->push_back(AppCacheDatabase::OnlineWhiteListRecord()); in ToDatabaseRecords()239 AppCacheDatabase::OnlineWhiteListRecord& record = whitelists->back(); in ToDatabaseRecords()
126 const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists);136 std::vector<AppCacheDatabase::OnlineWhiteListRecord>* whitelists);
1070 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in BasicFindMainFallbackResponse() local1076 &whitelists); in BasicFindMainFallbackResponse()1088 EXPECT_TRUE(database()->InsertOnlineWhiteListRecords(whitelists)); in BasicFindMainFallbackResponse()1144 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in BasicFindMainInterceptResponse() local1150 &whitelists); in BasicFindMainInterceptResponse()1162 EXPECT_TRUE(database()->InsertOnlineWhiteListRecords(whitelists)); in BasicFindMainInterceptResponse()1211 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in FindInterceptPatternMatch() local1217 &whitelists); in FindInterceptPatternMatch()1298 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in FindFallbackPatternMatch() local1304 &whitelists); in FindFallbackPatternMatch()
607 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in TEST() local613 &whitelists); in TEST()621 EXPECT_EQ(1u, whitelists.size()); in TEST()628 fallbacks, whitelists); in TEST()
1192 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in TEST() local1193 EXPECT_TRUE(db.FindOnlineWhiteListForCache(kWhitelistCacheId, &whitelists)); in TEST()1194 EXPECT_EQ(kNumNamespaces, static_cast<int>(whitelists.size())); in TEST()1210 EXPECT_EQ(expected_whitelist_url, whitelists[i].namespace_url); in TEST()1211 EXPECT_FALSE(whitelists[i].is_pattern); in TEST()