Home
last modified time | relevance | path

Searched refs:desired_tld (Results 1 – 12 of 12) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dautocomplete.cc59 const string16& desired_tld, in AutocompleteInput() argument
65 desired_tld_(desired_tld), in AutocompleteInput()
77 type_ = Parse(text_, desired_tld, &parts_, &scheme_, &canonicalized_url); in AutocompleteInput()
120 const string16& desired_tld, in Parse() argument
146 UTF16ToUTF8(desired_tld)); in Parse()
204 Type http_type = Parse(http_scheme_prefix + text, desired_tld, in Parse()
265 if (!desired_tld.empty()) { in Parse()
269 host_with_tld += desired_tld; in Parse()
289 UTF16ToUTF8(desired_tld))) { in Parse()
343 return desired_tld.empty() ? UNKNOWN : REQUESTED_URL; in Parse()
[all …]
Dautocomplete.h220 const string16& desired_tld,
239 const string16& desired_tld,
249 const string16& desired_tld,
279 const string16& desired_tld() const { return desired_tld_; } in desired_tld() function
651 const string16& desired_tld,
Dautocomplete_classifier.cc21 const string16& desired_tld, in Classify() argument
27 controller_->Start(text, desired_tld, true, false, allow_exact_keyword_match, in Classify()
Dhistory_url_provider_unittest.cc125 const string16& desired_tld,
188 const string16& desired_tld, in RunTest() argument
192 AutocompleteInput input(text, desired_tld, prevent_inline_autocomplete, in RunTest()
200 << "\nTLD: \"" << desired_tld << "\""; in RunTest()
Dautocomplete_classifier.h38 const string16& desired_tld,
Dhistory_url_provider.cc375 if (input.desired_tld().empty()) in FixupExactSuggestion()
/external/chromium/chrome/browser/net/
Durl_fixer_upper.cc186 static void AddDesiredTLD(const std::string& desired_tld, in AddDesiredTLD() argument
188 if (desired_tld.empty() || domain->empty()) in AddDesiredTLD()
208 DCHECK_NE(desired_tld[0], '.'); in AddDesiredTLD()
211 domain->append(desired_tld); in AddDesiredTLD()
247 const std::string& desired_tld, in FixupHost() argument
268 AddDesiredTLD(desired_tld, &domain); in FixupHost()
455 const std::string& desired_tld) { in FixupURL() argument
473 desired_tld).possibly_invalid_spec()); in FixupURL()
496 FixupHost(trimmed, parts.host, parts.scheme.is_valid(), desired_tld, &url); in FixupURL()
Durl_fixer_upper_unittest.cc210 const std::string desired_tld; member
275 value.desired_tld).possibly_invalid_spec()); in TEST()
302 value.desired_tld).possibly_invalid_spec()); in TEST()
401 file_cases[i].desired_tld).possibly_invalid_spec()); in TEST()
Durl_fixer_upper.h50 GURL FixupURL(const std::string& text, const std::string& desired_tld);
/external/chromium/net/base/
Dnet_util.h241 const std::string& desired_tld);
Dnet_util.cc1404 const std::string& desired_tld) { in IsCanonicalizedHostCompliant() argument
1435 (!desired_tld.empty() && IsHostCharAlpha(desired_tld[0])); in IsCanonicalizedHostCompliant()
Dnet_util_unittest.cc381 const char* desired_tld; member
1041 compliant_host_cases[i].desired_tld)); in TEST()