Home | History | Annotate | Download | only in base

Lines Matching full:mime

16 // The maximum number of bytes used by any internal mime sniffing routine. May
23 // replacement mime type from the content.
26 // @param mime_type The current mime type, e.g. from the Content-Type header.
27 // @return Returns true if we should sniff the mime type.
31 // Guess a mime type from the first few bytes of content an its URL. Always
32 // assigns |result| with its best guess of a mime type.
37 // @param type_hint The current mime type, e.g. from the Content-Type header.
38 // @param result Address at which to place the sniffed mime type.
39 // @return Returns true if we have enough content to guess the mime type.
44 // Attempt to identify a MIME type from the first few bytes of content only.
54 // @param result Address at which to place the sniffed mime type.
55 // @return Returns true if a MIME type match was found.