Home
last modified time | relevance | path

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

/external/chromium_org/content/child/
Dsite_isolation_policy_unittest.cc25 EXPECT_FALSE(SiteIsolationPolicy::IsBlockableScheme(data_url)); in TEST()
26 EXPECT_FALSE(SiteIsolationPolicy::IsBlockableScheme(ftp_url)); in TEST()
27 EXPECT_FALSE(SiteIsolationPolicy::IsBlockableScheme(mailto_url)); in TEST()
28 EXPECT_FALSE(SiteIsolationPolicy::IsBlockableScheme(about_url)); in TEST()
29 EXPECT_TRUE(SiteIsolationPolicy::IsBlockableScheme(http_url)); in TEST()
30 EXPECT_TRUE(SiteIsolationPolicy::IsBlockableScheme(https_url)); in TEST()
37 EXPECT_TRUE(SiteIsolationPolicy::IsSameSite(a_com_url0, a_com_url1)); in TEST()
38 EXPECT_TRUE(SiteIsolationPolicy::IsSameSite(a_com_url1, a_com_url2)); in TEST()
39 EXPECT_TRUE(SiteIsolationPolicy::IsSameSite(a_com_url2, a_com_url0)); in TEST()
42 EXPECT_FALSE(SiteIsolationPolicy::IsSameSite(a_com_url0, b_com_url0)); in TEST()
[all …]
Dsite_isolation_policy.cc138 void SiteIsolationPolicy::SetPolicyEnabled(bool enabled) { in SetPolicyEnabled()
143 SiteIsolationPolicy::OnReceivedResponse(const GURL& frame_origin, in OnReceivedResponse()
206 bool SiteIsolationPolicy::ShouldBlockResponse( in ShouldBlockResponse()
308 SiteIsolationPolicy::GetCanonicalMimeType(const std::string& mime_type) { in GetCanonicalMimeType()
332 bool SiteIsolationPolicy::IsBlockableScheme(const GURL& url) { in IsBlockableScheme()
339 bool SiteIsolationPolicy::IsSameSite(const GURL& frame_origin, in IsSameSite()
360 bool SiteIsolationPolicy::IsValidCorsHeaderSet( in IsValidCorsHeaderSet()
388 bool SiteIsolationPolicy::SniffForHTML(StringPiece data) { in SniffForHTML()
445 bool SiteIsolationPolicy::SniffForXML(base::StringPiece data) { in SniffForXML()
457 bool SiteIsolationPolicy::SniffForJSON(base::StringPiece data) { in SniffForJSON()
[all …]
Dsite_isolation_policy.h78 class CONTENT_EXPORT SiteIsolationPolicy {
145 SiteIsolationPolicy() {} in SiteIsolationPolicy() function
146 ~SiteIsolationPolicy() {} in ~SiteIsolationPolicy()
148 DISALLOW_COPY_AND_ASSIGN(SiteIsolationPolicy);
Dresource_dispatcher.cc364 SiteIsolationPolicy::OnReceivedResponse(request_info->frame_origin, in OnReceivedResponse()
442 SiteIsolationPolicy::ShouldBlockResponse( in OnReceivedData()
/external/chromium_org/content/renderer/
Drender_process_impl.cc65 SiteIsolationPolicy::SetPolicyEnabled( in RenderProcessImpl()