Searched refs:IsMimeType (Results 1 – 4 of 4) sorted by relevance
189 EXPECT_TRUE(IsMimeType(nonAscii)); in TEST()195 EXPECT_FALSE(IsMimeType(nonAscii)); in TEST()197 EXPECT_TRUE(IsMimeType("application/mime")); in TEST()198 EXPECT_TRUE(IsMimeType("audio/mime")); in TEST()199 EXPECT_TRUE(IsMimeType("example/mime")); in TEST()200 EXPECT_TRUE(IsMimeType("image/mime")); in TEST()201 EXPECT_TRUE(IsMimeType("message/mime")); in TEST()202 EXPECT_TRUE(IsMimeType("model/mime")); in TEST()203 EXPECT_TRUE(IsMimeType("multipart/mime")); in TEST()204 EXPECT_TRUE(IsMimeType("text/mime")); in TEST()[all …]
61 NET_EXPORT bool IsMimeType(const std::string& type_string);
72 bool IsMimeType(const std::string& type_string) const;632 bool MimeUtil::IsMimeType(const std::string& type_string) const { in IsMimeType() function in net::MimeUtil764 bool IsMimeType(const std::string& type_string) { in IsMimeType() function765 return g_mime_util.Get().IsMimeType(type_string); in IsMimeType()
529 if (!net::IsMimeType(mime_type)) in GeneratePluginId()