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

/external/chromium/chrome/browser/autocomplete/
H A Dautocomplete_classifier.cc21 const string16& desired_tld,
27 controller_->Start(text, desired_tld, true, false, allow_exact_keyword_match,
20 Classify(const string16& text, const string16& desired_tld, bool allow_exact_keyword_match, AutocompleteMatch* match, GURL* alternate_nav_url) argument
H A Dautocomplete_classifier.h26 // determines how it should be interpreted. |desired_tld| is the user's
27 // desired TLD, if any; see AutocompleteInput::desired_tld().
38 const string16& desired_tld,
H A Dautocomplete.h195 // treat as an URL by specifying a desired_tld
220 const string16& desired_tld,
239 const string16& desired_tld,
249 const string16& desired_tld,
279 const string16& desired_tld() const { return desired_tld_; } function in class:AutocompleteInput
624 // See AutocompleteInput::desired_tld() for meaning of |desired_tld|.
651 const string16& desired_tld,
H A Dautocomplete.cc59 const string16& desired_tld,
65 desired_tld_(desired_tld),
77 type_ = Parse(text_, desired_tld, &parts_, &scheme_, &canonicalized_url);
120 const string16& desired_tld,
146 UTF16ToUTF8(desired_tld));
204 Type http_type = Parse(http_scheme_prefix + text, desired_tld,
264 // Try to append the desired_tld.
265 if (!desired_tld.empty()) {
269 host_with_tld += desired_tld;
289 UTF16ToUTF8(desired_tld))) {
58 AutocompleteInput(const string16& text, const string16& desired_tld, bool prevent_inline_autocomplete, bool prefer_keyword, bool allow_exact_keyword_match, MatchesRequested matches_requested) argument
118 Parse( const string16& text, const string16& desired_tld, url_parse::Parsed* parts, string16* scheme, GURL* canonicalized_url) argument
406 ParseForEmphasizeComponents( const string16& text, const string16& desired_tld, url_parse::Component* scheme, url_parse::Component* host) argument
[all...]
H A Dhistory_url_provider_unittest.cc125 const string16& desired_tld,
188 const string16& desired_tld,
192 AutocompleteInput input(text, desired_tld, prevent_inline_autocomplete,
200 << "\nTLD: \"" << desired_tld << "\""; local
187 RunTest(const string16 text, const string16& desired_tld, bool prevent_inline_autocomplete, const std::string* expected_urls, size_t num_results) argument
H A Dhistory_url_provider.cc375 if (input.desired_tld().empty())
609 // NOTE: This purposefully doesn't take input.desired_tld() into account; if
/external/chromium/chrome/browser/net/
H A Durl_fixer_upper.h44 // If |desired_tld| is non-empty, it represents the TLD the user wishes to
47 // |desired_tld| to the domain and prepend "www." (unless it, or a scheme,
50 GURL FixupURL(const std::string& text, const std::string& desired_tld);
H A Durl_fixer_upper.cc185 // |desired_tld| to the domain, and prepends "www." unless it's already present.
186 static void AddDesiredTLD(const std::string& desired_tld, argument
188 if (desired_tld.empty() || domain->empty())
208 DCHECK_NE(desired_tld[0], '.');
211 domain->append(desired_tld);
247 const std::string& desired_tld,
268 AddDesiredTLD(desired_tld, &domain);
455 const std::string& desired_tld) {
473 desired_tld).possibly_invalid_spec());
496 FixupHost(trimmed, parts.host, parts.scheme.is_valid(), desired_tld,
244 FixupHost(const std::string& text, const url_parse::Component& part, bool has_scheme, const std::string& desired_tld, std::string* url) argument
454 FixupURL(const std::string& text, const std::string& desired_tld) argument
[all...]
H A Durl_fixer_upper_unittest.cc210 const std::string desired_tld; member in struct:fixup_case
275 value.desired_tld).possibly_invalid_spec());
302 value.desired_tld).possibly_invalid_spec());
401 file_cases[i].desired_tld).possibly_invalid_spec());
/external/chromium/net/base/
H A Dnet_util.h233 // If |desired_tld| is non-NULL, the host will only be considered invalid if
241 const std::string& desired_tld);
H A Dnet_util.cc1404 const std::string& desired_tld) {
1435 (!desired_tld.empty() && IsHostCharAlpha(desired_tld[0]));
1403 IsCanonicalizedHostCompliant(const std::string& host, const std::string& desired_tld) argument
H A Dnet_util_unittest.cc381 const char* desired_tld; member in struct:net::__anon2814::CompliantHostCase
1041 compliant_host_cases[i].desired_tld));

Completed in 149 milliseconds