SniffForJS 232 content/child/site_isolation_policy.cc bool sniffed_as_js = SniffForJS(data); SniffForJS 109 content/child/site_isolation_policy.h FRIEND_TEST_ALL_PREFIXES(SiteIsolationPolicyTest, SniffForJS); SniffForJS 142 content/child/site_isolation_policy.h static bool SniffForJS(base::StringPiece data); SniffForJS 121 content/child/site_isolation_policy_unittest.cc TEST(SiteIsolationPolicyTest, SniffForJS) { SniffForJS 127 content/child/site_isolation_policy_unittest.cc EXPECT_TRUE(SiteIsolationPolicy::SniffForJS(js_data)); SniffForJS 128 content/child/site_isolation_policy_unittest.cc EXPECT_FALSE(SiteIsolationPolicy::SniffForJS(json_data)); SniffForJS 131 content/child/site_isolation_policy_unittest.cc EXPECT_FALSE(SiteIsolationPolicy::SniffForJS(empty_data));