Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_provider.cc215 size_t scheme_pos = in TrimHttpPrefix() local
217 DCHECK_NE(base::string16::npos, scheme_pos); in TrimHttpPrefix()
220 size_t prefix_end = scheme_pos + strlen(url::kHttpScheme) + 1; in TrimHttpPrefix()
224 url->erase(scheme_pos, prefix_end - scheme_pos); in TrimHttpPrefix()
225 return (scheme_pos == 0) ? prefix_end : 0; in TrimHttpPrefix()
/external/chromium_org/net/proxy/
Dproxy_bypass_rules.cc275 std::string::size_type scheme_pos = raw.find("://"); in AddRuleFromStringInternal() local
277 if (scheme_pos != std::string::npos) { in AddRuleFromStringInternal()
278 scheme = raw.substr(0, scheme_pos); in AddRuleFromStringInternal()
279 raw = raw.substr(scheme_pos + 3); in AddRuleFromStringInternal()