Searched defs:intercepts (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/webkit/browser/appcache/
H A Dmanifest_parser_unittest.cc275 const NamespaceVector& intercepts = manifest.intercept_namespaces; local
277 ASSERT_EQ(kExpected, intercepts.size());
278 EXPECT_EQ(INTERCEPT_NAMESPACE, intercepts[0].type);
279 EXPECT_EQ(INTERCEPT_NAMESPACE, intercepts[1].type);
280 EXPECT_EQ(INTERCEPT_NAMESPACE, intercepts[2].type);
282 intercepts[0].namespace_url);
284 intercepts[0].target_url);
286 intercepts[1].namespace_url);
288 intercepts[1].target_url);
290 intercepts[
[all...]
H A Dappcache_unittest.cc582 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
588 &intercepts,
596 EXPECT_EQ(1u, intercepts.size());
604 cache_record, entries, intercepts,
H A Dappcache.cc154 const std::vector<AppCacheDatabase::NamespaceRecord>& intercepts,
168 for (size_t i = 0; i < intercepts.size(); ++i)
169 intercept_namespaces_.push_back(intercepts.at(i).namespace_);
195 std::vector<AppCacheDatabase::NamespaceRecord>* intercepts,
222 intercepts->push_back(AppCacheDatabase::NamespaceRecord());
223 AppCacheDatabase::NamespaceRecord& record = intercepts->back();
151 InitializeWithDatabaseRecords( const AppCacheDatabase::CacheRecord& cache_record, const std::vector<AppCacheDatabase::EntryRecord>& entries, const std::vector<AppCacheDatabase::NamespaceRecord>& intercepts, const std::vector<AppCacheDatabase::NamespaceRecord>& fallbacks, const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists) argument
191 ToDatabaseRecords( const AppCacheGroup* group, AppCacheDatabase::CacheRecord* cache_record, std::vector<AppCacheDatabase::EntryRecord>* entries, std::vector<AppCacheDatabase::NamespaceRecord>* intercepts, std::vector<AppCacheDatabase::NamespaceRecord>* fallbacks, std::vector<AppCacheDatabase::OnlineWhiteListRecord>* whitelists) argument
H A Dappcache_database_unittest.cc425 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
429 EXPECT_TRUE(db.FindNamespacesForCache(1, &intercepts, &fallbacks));
431 EXPECT_TRUE(db.FindNamespacesForOrigin(kFooOrigin, &intercepts, &fallbacks));
450 EXPECT_TRUE(db.FindNamespacesForCache(1, &intercepts, &fallbacks));
459 EXPECT_TRUE(db.FindNamespacesForCache(2, &intercepts, &fallbacks));
468 EXPECT_TRUE(db.FindNamespacesForOrigin(kFooOrigin, &intercepts, &fallbacks));
483 EXPECT_TRUE(db.FindNamespacesForOrigin(kFooOrigin, &intercepts, &fallbacks));
507 EXPECT_TRUE(db.FindNamespacesForCache(3, &intercepts, &fallbacks));
513 EXPECT_TRUE(db.FindNamespacesForOrigin(kBarOrigin, &intercepts, &fallbacks));
912 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
1146 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
[all...]
H A Dappcache_database.cc662 std::vector<NamespaceRecord>* intercepts,
664 DCHECK(intercepts && intercepts->empty());
676 ReadNamespaceRecords(&statement, intercepts, fallbacks);
683 std::vector<NamespaceRecord>* intercepts,
685 DCHECK(intercepts && intercepts->empty());
697 ReadNamespaceRecords(&statement, intercepts, fallbacks);
953 NamespaceRecordVector* intercepts,
958 (type == FALLBACK_NAMESPACE) ? fallbacks : intercepts;
660 FindNamespacesForOrigin( const GURL& origin, std::vector<NamespaceRecord>* intercepts, std::vector<NamespaceRecord>* fallbacks) argument
681 FindNamespacesForCache( int64 cache_id, std::vector<NamespaceRecord>* intercepts, std::vector<NamespaceRecord>* fallbacks) argument
951 ReadNamespaceRecords( sql::Statement* statement, NamespaceRecordVector* intercepts, NamespaceRecordVector* fallbacks) argument
[all...]
H A Dappcache_storage_impl_unittest.cc1037 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
1043 &intercepts,
1111 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
1117 &intercepts,
1130 EXPECT_TRUE(database()->InsertNamespaceRecords(intercepts));
1178 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
1184 &intercepts,
1197 EXPECT_TRUE(database()->InsertNamespaceRecords(intercepts));
1264 std::vector<AppCacheDatabase::NamespaceRecord> intercepts; local
1270 &intercepts,
[all...]

Completed in 5861 milliseconds