Lines Matching refs:prefixes
33 using history::Prefixes;
203 for (Prefixes::const_iterator i(prefixes_.begin()); i != prefixes_.end();
208 // need to promote lower-quality matches that are prefixes of
441 history::Prefixes HistoryURLProvider::GetPrefixes() {
442 // We'll complete text following these prefixes.
444 Prefixes prefixes;
445 prefixes.push_back(Prefix(ASCIIToUTF16("https://www."), 2));
446 prefixes.push_back(Prefix(ASCIIToUTF16("http://www."), 2));
447 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://ftp."), 2));
448 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://www."), 2));
449 prefixes.push_back(Prefix(ASCIIToUTF16("https://"), 1));
450 prefixes.push_back(Prefix(ASCIIToUTF16("http://"), 1));
451 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://"), 1));
453 prefixes.push_back(Prefix(string16(), 0));
454 return prefixes;
492 // first match in |params|, because they might have different prefixes. If
656 for (Prefixes::const_iterator i(prefixes_.begin()); i != prefixes_.end();
674 // the prefixes as well as after it). Consider the following scenario: