OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MatchesMimeType
(Results
1 - 12
of
12
) sorted by null
/external/chromium_org/net/base/
mime_util_unittest.cc
89
TEST(MimeUtilTest,
MatchesMimeType
) {
90
EXPECT_TRUE(
MatchesMimeType
("*", "video/x-mpeg"));
91
EXPECT_TRUE(
MatchesMimeType
("video/*", "video/x-mpeg"));
92
EXPECT_TRUE(
MatchesMimeType
("video/*", "video/*"));
93
EXPECT_TRUE(
MatchesMimeType
("video/x-mpeg", "video/x-mpeg"));
94
EXPECT_TRUE(
MatchesMimeType
("application/*+xml",
96
EXPECT_TRUE(
MatchesMimeType
("application/*+xml", "application/+xml"));
97
EXPECT_TRUE(
MatchesMimeType
("aaa*aaa", "aaaaaa"));
98
EXPECT_TRUE(
MatchesMimeType
("*", std::string()));
99
EXPECT_FALSE(
MatchesMimeType
("video/", "video/x-mpeg"))
[
all
...]
mime_util.h
55
NET_EXPORT bool
MatchesMimeType
(const std::string& mime_type_pattern,
mime_util.cc
69
bool
MatchesMimeType
(const std::string &mime_type_pattern,
577
bool MimeUtil::
MatchesMimeType
(const std::string& mime_type_pattern,
759
bool
MatchesMimeType
(const std::string& mime_type_pattern,
761
return g_mime_util.Get().
MatchesMimeType
(mime_type_pattern, mime_type);
[
all
...]
/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
48
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);
/external/chromium_org/chrome/browser/download/
download_extensions.cc
252
if (net::
MatchesMimeType
(kExecutableWhiteList[i], mime_type))
256
if (net::
MatchesMimeType
(kExecutableBlackList[i], mime_type))
260
return net::
MatchesMimeType
("application/*", mime_type);
/external/chromium_org/chrome/browser/chromeos/drive/
file_cache.cc
428
if (net::
MatchesMimeType
("image/*", mime_type)) {
430
} else if (net::
MatchesMimeType
("video/*", mime_type)) {
432
} else if (net::
MatchesMimeType
("audio/*", mime_type)) {
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
app_file_handler_util.cc
61
if (net::
MatchesMimeType
(*type, mime_type))
/external/chromium_org/content/common/
plugin_list.cc
376
if (net::
MatchesMimeType
(mime_info.mime_type, mime_type)) {
/external/chromium_org/chrome/browser/predictors/
resource_prefetch_predictor.cc
198
!net::
MatchesMimeType
("text/css", mime_type)) {
248
else if (net::
MatchesMimeType
("text/css", mime_type))
[
all
...]
Completed in 964 milliseconds