Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dssl_false_start_blacklist_process.cc33 static const char kPrefix[] = "www."; in StripWWWPrefix() local
34 static const unsigned kPrefixLen = sizeof(kPrefix) - 1; in StripWWWPrefix()
39 memcmp(h.data(), kPrefix, kPrefixLen) == 0) { in StripWWWPrefix()
/external/chromium/net/http/
Dhttp_response_headers.cc707 const std::string kPrefix = "no-cache=\""; in AddNonCacheableHeaders() local
711 if (value.size() > kPrefix.size() && in AddNonCacheableHeaders()
712 value.compare(0, kPrefix.size(), kPrefix) == 0) { in AddNonCacheableHeaders()
718 size_t len = value.size() - kPrefix.size() - 1; in AddNonCacheableHeaders()
719 TrimString(value.substr(kPrefix.size(), len), HTTP_LWS, &value); in AddNonCacheableHeaders()