/external/chromium_org/content/common/ |
appcache_interfaces.cc | 83 namespace_url(url), 93 namespace_url(url), 106 std::string pattern = namespace_url.spec(); 107 if (namespace_url.has_query()) 111 return StartsWithASCII(url.spec(), namespace_url.spec(), true);
|
appcache_interfaces.h | 106 GURL namespace_url; member in struct:content::AppCacheNamespace
|
/external/chromium_org/content/browser/appcache/ |
appcache_manifest_parser.cc | 246 GURL namespace_url = manifest_url.Resolve(namespace_url16); local 247 if (!namespace_url.is_valid()) 249 if (namespace_url.has_ref()) { 252 namespace_url = namespace_url.ReplaceComponents(replacements); 257 if (manifest_url.GetOrigin() != namespace_url.GetOrigin()) 308 AppCacheNamespace(APPCACHE_INTERCEPT_NAMESPACE, namespace_url, 325 GURL namespace_url = manifest_url.Resolve(namespace_url16); local 326 if (!namespace_url.is_valid()) 328 if (namespace_url.has_ref()) [all...] |
appcache_manifest_parser_unittest.cc | 168 EXPECT_EQ(GURL("http://www.bar.com/relative/one"), online[0].namespace_url); 169 EXPECT_EQ(GURL("http://www.bar.com/two"), online[1].namespace_url); 170 EXPECT_EQ(GURL("http://www.diff.com/three"), online[2].namespace_url); 171 EXPECT_EQ(GURL("http://www.bar.com/relative/four"), online[3].namespace_url); 172 EXPECT_EQ(GURL("http://www.five.com"), online[4].namespace_url); 173 EXPECT_EQ(GURL("http://www.bar.com/*foo"), online[5].namespace_url); 217 fallbacks[0].namespace_url); 221 fallbacks[1].namespace_url); 225 fallbacks[2].namespace_url); 229 fallbacks[3].namespace_url); [all...] |
appcache.h | 83 // Returns the URL of the resource used as entry for 'namespace_url'. 84 GURL GetFallbackEntryUrl(const GURL& namespace_url) const { 85 return GetNamespaceEntryUrl(fallback_namespaces_, namespace_url); 87 GURL GetInterceptEntryUrl(const GURL& namespace_url) const { 88 return GetNamespaceEntryUrl(intercept_namespaces_, namespace_url); 171 const GURL& namespace_url) const;
|
appcache.cc | 119 const GURL& namespace_url) const { 122 if (namespaces[i].namespace_url == namespace_url) 132 return lhs.namespace_url.spec().length() > rhs.namespace_url.spec().length(); 185 record.namespace_url, 241 record.namespace_url = online_whitelist_namespaces_[i].namespace_url; 278 *found_intercept_namespace = intercept_namespace->namespace_url; 288 *found_fallback_namespace = fallback_namespace->namespace_url; [all...] |
appcache_database_unittest.cc | 471 record.namespace_.namespace_url = kFooNameSpace1; 478 record.namespace_.namespace_url = kFooNameSpace2; 487 EXPECT_EQ(kFooNameSpace1, fallbacks[0].namespace_.namespace_url); 496 EXPECT_EQ(kFooNameSpace2, fallbacks[0].namespace_.namespace_url); 505 EXPECT_EQ(kFooNameSpace1, fallbacks[0].namespace_.namespace_url); 510 EXPECT_EQ(kFooNameSpace2, fallbacks[1].namespace_.namespace_url); 520 EXPECT_EQ(kFooNameSpace2, fallbacks[0].namespace_.namespace_url); 527 record.namespace_.namespace_url = kBarNameSpace1; 534 record.namespace_.namespace_url = kBarNameSpace2; 573 record.namespace_url = kFooNameSpace1 [all...] |
mock_appcache_storage.cc | 256 const GURL& namespace_url, 270 namespace_url.spec().length(); 287 cache->GetFallbackEntryUrl(namespace_url); 290 cache->GetInterceptEntryUrl(namespace_url); 297 *best_candidate_namespace = namespace_url;
|
appcache_unittest.cc | 130 EXPECT_EQ(GURL("http://fb1.com"), fallbacks[0].namespace_url); 137 EXPECT_EQ(GURL("http://w1.com"), whitelist[0].namespace_url); 138 EXPECT_EQ(GURL("http://w2.com"), whitelist[1].namespace_url); 573 cache->online_whitelist_namespaces_[0].namespace_url); 625 cache->online_whitelist_namespaces_[0].namespace_url); 630 prefix.namespace_url = GURL("http://foo.com/prefix"); 638 bar_no_star.namespace_url = GURL("http://foo.com/bar"); 646 bar_star.namespace_url = GURL("http://foo.com/bar/*"); 656 star_bar_star.namespace_url = GURL("http://foo.com/*/bar/*"); 666 query_star_edit.namespace_url = GURL("http://foo.com/query?id=*&verb=edit*") [all...] |
appcache_database.cc | 86 " namespace_url TEXT," 92 " namespace_url TEXT," 142 "(cache_id, namespace_url)", 669 "SELECT cache_id, origin, type, namespace_url, target_url, is_pattern" 690 "SELECT cache_id, origin, type, namespace_url, target_url, is_pattern" 708 " (cache_id, origin, type, namespace_url, target_url, is_pattern)" 724 statement.BindString(3, record->namespace_.namespace_url.spec()); 766 "SELECT cache_id, namespace_url, is_pattern FROM OnlineWhiteLists" 786 "INSERT INTO OnlineWhiteLists (cache_id, namespace_url, is_pattern)" 791 statement.BindString(1, record->namespace_url.spec()) [all...] |
appcache_database.h | 95 GURL namespace_url; member in struct:content::AppCacheDatabase::OnlineWhiteListRecord
|
appcache_storage_impl_unittest.cc | 813 fallback_namespace_record.namespace_.namespace_url = kFallbackNamespace; 819 online_whitelist_record.namespace_url = kOnlineNamespace; [all...] |
appcache_storage_impl.cc | 836 return lhs.namespace_.namespace_url.spec().length() > 837 rhs.namespace_.namespace_url.spec().length(); 867 AppCacheNamespace(APPCACHE_NETWORK_NAMESPACE, iter->namespace_url, [all...] |
appcache_update_job_unittest.cc | 208 lhs.namespace_url == rhs.namespace_url && [all...] |