Home
last modified time | relevance | path

Searched refs:whitelists (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/webkit/browser/appcache/
Dappcache.cc156 const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists) { in InitializeWithDatabaseRecords() argument
181 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() argument
198 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()
Dappcache.h126 const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists);
136 std::vector<AppCacheDatabase::OnlineWhiteListRecord>* whitelists);
/external/chromium_org/content/browser/appcache/
Dappcache_storage_impl_unittest.cc1070 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in BasicFindMainFallbackResponse() local
1076 &whitelists); in BasicFindMainFallbackResponse()
1088 EXPECT_TRUE(database()->InsertOnlineWhiteListRecords(whitelists)); in BasicFindMainFallbackResponse()
1144 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in BasicFindMainInterceptResponse() local
1150 &whitelists); in BasicFindMainInterceptResponse()
1162 EXPECT_TRUE(database()->InsertOnlineWhiteListRecords(whitelists)); in BasicFindMainInterceptResponse()
1211 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in FindInterceptPatternMatch() local
1217 &whitelists); in FindInterceptPatternMatch()
1298 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in FindFallbackPatternMatch() local
1304 &whitelists); in FindFallbackPatternMatch()
Dappcache_unittest.cc607 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in TEST() local
613 &whitelists); in TEST()
621 EXPECT_EQ(1u, whitelists.size()); in TEST()
628 fallbacks, whitelists); in TEST()
Dappcache_database_unittest.cc1192 std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists; in TEST() local
1193 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()