Home | History | Annotate | Download | only in base

Lines Matching refs:mime_type

17   const char* mime_type;
21 std::string mime_type;
28 &mime_type);
29 EXPECT_EQ(tests[i].mime_type, mime_type);
38 std::string mime_type;
40 mime_type_hint, &mime_type);
41 return mime_type;
45 std::string mime_type;
54 SniffMimeType(buf, 0, url, type_hint, &mime_type);
55 EXPECT_EQ("text/plain", mime_type);
56 SniffMimeType(buf, 1, url, type_hint, &mime_type);
57 EXPECT_EQ("text/plain", mime_type);
58 SniffMimeType(buf, 2, url, type_hint, &mime_type);
59 EXPECT_EQ("application/octet-stream", mime_type);
375 std::string mime_type;
377 "text/xml", &mime_type));
378 EXPECT_EQ("text/xml", mime_type);
391 std::string mime_type;
393 "text/plain", &mime_type));
394 EXPECT_EQ("application/octet-stream", mime_type);
451 std::string mime_type;
456 &mime_type));
457 EXPECT_EQ("audio/x-flac", mime_type);
458 mime_type.clear();
464 &mime_type));
465 EXPECT_EQ("video/x-ms-asf", mime_type);
466 mime_type.clear();
474 &mime_type));
475 EXPECT_EQ("video/mp4", mime_type);
476 mime_type.clear();
482 &mime_type));
483 EXPECT_EQ("audio/mpeg", mime_type);
484 mime_type.clear();