Home
last modified time | relevance | path

Searched refs:IsMimeType (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/base/
Dmime_util_unittest.cc189 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 …]
Dmime_util.h61 NET_EXPORT bool IsMimeType(const std::string& type_string);
Dmime_util.cc72 bool IsMimeType(const std::string& type_string) const;
632 bool MimeUtil::IsMimeType(const std::string& type_string) const { in IsMimeType() function in net::MimeUtil
764 bool IsMimeType(const std::string& type_string) { in IsMimeType() function
765 return g_mime_util.Get().IsMimeType(type_string); in IsMimeType()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_file_system_browser_host.cc529 if (!net::IsMimeType(mime_type)) in GeneratePluginId()