Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/autocomplete/
Dhistory_provider.cc136 size_t scheme_pos = in TrimHttpPrefix() local
138 DCHECK_NE(string16::npos, scheme_pos); in TrimHttpPrefix()
141 size_t prefix_end = scheme_pos + strlen(chrome::kHttpScheme) + 1; in TrimHttpPrefix()
145 url->erase(scheme_pos, prefix_end - scheme_pos); in TrimHttpPrefix()
146 return (scheme_pos == 0) ? prefix_end : 0; in TrimHttpPrefix()
/external/chromium/net/proxy/
Dproxy_bypass_rules.cc273 std::string::size_type scheme_pos = raw.find("://"); in AddRuleFromStringInternal() local
275 if (scheme_pos != std::string::npos) { in AddRuleFromStringInternal()
276 scheme = raw.substr(0, scheme_pos); in AddRuleFromStringInternal()
277 raw = raw.substr(scheme_pos + 3); in AddRuleFromStringInternal()