Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/url/
H A Dgurl.cc359 bool GURL::SchemeIs(std::string_view lower_ascii_scheme) const { in SchemeIs()
360 DCHECK(base::IsStringASCII(lower_ascii_scheme)); in SchemeIs()
361 DCHECK(base::ToLowerASCII(lower_ascii_scheme) == lower_ascii_scheme); in SchemeIs()
364 return lower_ascii_scheme.empty(); in SchemeIs()
365 return scheme_piece() == lower_ascii_scheme; in SchemeIs()
382 bool GURL::SchemeIsCryptographic(std::string_view lower_ascii_scheme) { in SchemeIsCryptographic() argument
383 DCHECK(base::IsStringASCII(lower_ascii_scheme)); in SchemeIsCryptographic()
384 DCHECK(base::ToLowerASCII(lower_ascii_scheme) == lower_ascii_scheme); in SchemeIsCryptographic()
386 return lower_ascii_scheme == url::kHttpsScheme || in SchemeIsCryptographic()
387 lower_ascii_scheme == url::kWssScheme; in SchemeIsCryptographic()
H A Dgurl.h245 bool SchemeIs(std::string_view lower_ascii_scheme) const; in COMPONENT_EXPORT()
274 static bool SchemeIsCryptographic(std::string_view lower_ascii_scheme); in COMPONENT_EXPORT()