HomeSort by relevance Sort by last modified time
    Searched refs:SniffForHTML (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/content/child/
site_isolation_policy_unittest.cc 72 TEST(SiteIsolationPolicyTest, SniffForHTML) {
83 EXPECT_TRUE(SiteIsolationPolicy::SniffForHTML(html_data));
84 EXPECT_TRUE(SiteIsolationPolicy::SniffForHTML(comment_html_data));
85 EXPECT_TRUE(SiteIsolationPolicy::SniffForHTML(two_comments_html_data));
86 EXPECT_TRUE(SiteIsolationPolicy::SniffForHTML(mixed_comments_html_data));
87 EXPECT_FALSE(SiteIsolationPolicy::SniffForHTML(non_html_data));
88 EXPECT_FALSE(SiteIsolationPolicy::SniffForHTML(comment_js_data));
91 EXPECT_FALSE(SiteIsolationPolicy::SniffForHTML(empty_data));
site_isolation_policy.h 112 FRIEND_TEST_ALL_PREFIXES(SiteIsolationPolicyTest, SniffForHTML);
142 static bool SniffForHTML(base::StringPiece data);
site_isolation_policy.cc 299 sniffed_as_target_document = SniffForHTML(data);
329 if (SniffForHTML(data))
452 // This function is a slight modification of |net::SniffForHTML|.
453 bool SiteIsolationPolicy::SniffForHTML(StringPiece data) {
460 // TODO(dsjang): parameterize |net::SniffForHTML| with an option
496 // Search for --> and do SniffForHTML after that. If we can find the
  /external/chromium/net/base/
mime_sniffer.cc 295 static bool SniffForHTML(const char* content,
638 if (SniffForHTML(content, content_size, &have_enough_content, result))
  /external/chromium_org/net/base/
mime_sniffer.cc 399 static bool SniffForHTML(const char* content,
    [all...]

Completed in 29 milliseconds