OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MatchesMimeType
(Results
1 - 4
of
4
) sorted by null
/external/chromium/net/base/
mime_util_unittest.cc
73
TEST(MimeUtilTest,
MatchesMimeType
) {
74
EXPECT_TRUE(
MatchesMimeType
("*", "video/x-mpeg"));
75
EXPECT_TRUE(
MatchesMimeType
("video/*", "video/x-mpeg"));
76
EXPECT_TRUE(
MatchesMimeType
("video/x-mpeg", "video/x-mpeg"));
77
EXPECT_TRUE(
MatchesMimeType
("application/*+xml",
79
EXPECT_TRUE(
MatchesMimeType
("application/*+xml", "application/+xml"));
80
EXPECT_TRUE(
MatchesMimeType
("aaa*aaa", "aaaaaa"));
81
EXPECT_FALSE(
MatchesMimeType
("video/", "video/x-mpeg"));
82
EXPECT_FALSE(
MatchesMimeType
("", "video/x-mpeg"));
83
EXPECT_FALSE(
MatchesMimeType
("", ""));
[
all
...]
mime_util.h
47
bool
MatchesMimeType
(const std::string &mime_type_pattern,
mime_util.cc
40
bool
MatchesMimeType
(const std::string &mime_type_pattern,
385
bool MimeUtil::
MatchesMimeType
(const std::string &mime_type_pattern,
517
bool
MatchesMimeType
(const std::string &mime_type_pattern,
519
return g_mime_util.Get().
MatchesMimeType
(mime_type_pattern, mime_type);
/external/chromium/chrome/browser/download/
download_extensions.cc
243
if (net::
MatchesMimeType
(kExecutableWhiteList[i], mime_type))
247
if (net::
MatchesMimeType
(kExecutableBlackList[i], mime_type))
251
return net::
MatchesMimeType
("application/*", mime_type);
Completed in 3862 milliseconds