Home
last modified time | relevance | path

Searched refs:kResourceTypeValues (Results 1 – 1 of 1) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_webrequest_api.cc54 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()