Searched refs:kResourceTypeValues (Results 1 – 2 of 2) sorted by relevance
/external/chromium/chrome/browser/extensions/ |
D | extension_webrequest_api.cc | 54 static ResourceType::Type kResourceTypeValues[] = { variable 65 arraysize(kResourceTypeStrings) == arraysize(kResourceTypeValues), 77 std::find(kResourceTypeValues, ARRAYEND(kResourceTypeValues), type); in ResourceTypeToString() 78 if (iter == ARRAYEND(kResourceTypeValues)) in ResourceTypeToString() 81 return kResourceTypeStrings[iter - kResourceTypeValues]; in ResourceTypeToString() 90 *type = kResourceTypeValues[iter - kResourceTypeStrings]; in ParseResourceType() 108 std::find(kResourceTypeValues, ARRAYEND(kResourceTypeValues), in ExtractRequestInfo() 110 *resource_type = (iter != ARRAYEND(kResourceTypeValues)) ? in ExtractRequestInfo()
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
D | web_request_api_helpers.cc | 57 static ResourceType::Type kResourceTypeValues[] = { variable 75 arraysize(kResourceTypeStrings) == arraysize(kResourceTypeValues), 1227 std::find(kResourceTypeValues, ARRAYEND(kResourceTypeValues), type); in IsRelevantResourceType() 1228 return iter != ARRAYEND(kResourceTypeValues); in IsRelevantResourceType() 1233 std::find(kResourceTypeValues, ARRAYEND(kResourceTypeValues), type); in ResourceTypeToString() 1234 if (iter == ARRAYEND(kResourceTypeValues)) in ResourceTypeToString() 1237 return kResourceTypeStrings[iter - kResourceTypeValues]; in ResourceTypeToString() 1246 *type = kResourceTypeValues[iter - kResourceTypeStrings]; in ParseResourceType()
|