Lines Matching refs:url
21 // * Safari 3: Render as text (Note: Safari will Render as HTML if the URL
48 // URL has an GIF extension)
59 // Download as GIF if the URL has an GIF extension)
61 // URL has an GIF extension)
71 // Download as GIF if the URL has an GIF extension)
73 // URL has an GIF extension)
447 static bool SniffCRX(const char* content, size_t content_size, const GURL& url,
466 if (url.path().rfind(kCRXExtension, std::string::npos, kExtensionLength) ==
467 url.path().size() - kExtensionLength) {
484 bool ShouldSniffMimeType(const GURL& url, const std::string& mime_type) {
488 bool sniffable_scheme = url.is_empty() ||
489 url.SchemeIs("http") ||
490 url.SchemeIs("https") ||
491 url.SchemeIs("ftp");
531 const GURL& url, const std::string& type_hint,
583 if (SniffCRX(content, content_size, url, type_hint, result))