Searched refs:content_types (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/components/cloud_devices/common/ |
D | printer_description_unittest.cc | 268 ContentTypesCapability content_types; in TEST() local 282 EXPECT_FALSE(content_types.LoadFrom(description)); in TEST() 314 ContentTypesCapability content_types; in TEST() local 328 content_types.AddOption("image/pwg-raster"); in TEST() 329 content_types.AddOption("image/jpeg"); in TEST() 373 content_types.SaveTo(&description); in TEST() 394 ContentTypesCapability content_types; in TEST() local 408 EXPECT_TRUE(content_types.LoadFrom(description)); in TEST() 423 EXPECT_TRUE(content_types.Contains("image/pwg-raster")); in TEST() 424 EXPECT_TRUE(content_types.Contains("image/jpeg")); in TEST()
|
/external/chromium_org/chrome/common/cloud_print/ |
D | cloud_print_cdd_conversion.cc | 18 ContentTypesCapability content_types; in PrinterSemanticCapsAndDefaultsToCdd() local 19 content_types.AddOption("application/pdf"); in PrinterSemanticCapsAndDefaultsToCdd() 20 content_types.SaveTo(&description); in PrinterSemanticCapsAndDefaultsToCdd()
|
/external/chromium_org/extensions/browser/api/declarative_webrequest/ |
D | webrequest_condition_attribute_unittest.cc | 149 base::ListValue content_types; in TEST() local 150 content_types.Append(new base::StringValue("text/plain")); in TEST() 153 keys::kContentTypeKey, &content_types, &error); in TEST() 166 keys::kExcludeContentTypeKey, &content_types, &error); in TEST() 173 content_types.Clear(); in TEST() 174 content_types.Append(new base::StringValue("something/invalid")); in TEST() 177 keys::kContentTypeKey, &content_types, &error); in TEST() 186 keys::kExcludeContentTypeKey, &content_types, &error); in TEST()
|
D | webrequest_condition_attribute.cc | 211 const std::vector<std::string>& content_types, in WebRequestConditionAttributeContentType() argument 213 : content_types_(content_types), in WebRequestConditionAttributeContentType() 233 std::vector<std::string> content_types; in Create() local 241 content_types.push_back(content_type); in Create() 246 content_types, name == keys::kContentTypeKey)); in Create()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | privet_http_impl.cc | 531 ContentTypesCapability content_types; in StartInitialRequest() local 532 if (content_types.LoadFrom(capabilities_)) { in StartInitialRequest() 533 use_pdf_ = content_types.Contains(kPrivetContentTypePDF) || in StartInitialRequest() 534 content_types.Contains(kPrivetContentTypeAny); in StartInitialRequest()
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | gtk2_ui.cc | 597 std::string content_types[] = { in GetIconForContentType() local 601 for (size_t i = 0; i < arraysize(content_types); ++i) { in GetIconForContentType() 602 ScopedGIcon icon(g_content_type_get_icon(content_types[i].c_str())); in GetIconForContentType()
|