HomeSort by relevance Sort by last modified time
    Searched full:trimmed_pattern (Results 1 - 1 of 1) sorted by null

  /external/chromium_org/chrome/browser/managed_mode/
managed_mode_url_filter.cc 220 std::string trimmed_pattern = pattern; local
229 trimmed_pattern.erase(trimmed_pattern.length() - 2);
233 if (StartsWithASCII(trimmed_pattern, "*.", true)) {
234 trimmed_pattern.erase(0, 2);
239 if (trimmed_pattern.empty() ||
240 trimmed_pattern.find('*') != std::string::npos ||
241 !EndsWith(trimmed_host, trimmed_pattern, true)) {
247 int pos = trimmed_host.length() - trimmed_pattern.length();
252 return trimmed_host == trimmed_pattern;
    [all...]

Completed in 56 milliseconds