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);
371 std::string mime_type;
373 "text/xml", &mime_type));
374 EXPECT_EQ("text/xml", mime_type);
387 std::string mime_type;
389 "text/plain", &mime_type));
390 EXPECT_EQ("application/octet-stream", mime_type);