Home | History | Annotate | Download | only in tld_cleanup

Lines Matching refs:gurl

21 //  * Logs a warning if GURL reports a rule as invalid, but keeps the rule.
22 // * Canonicalizes each rule's domain by converting it to a GURL and back.
39 #include "googleurl/src/gurl.h"
100 // canonicalizes it using GURL. Returns kSuccess if the rule is interpreted as
141 // Make a GURL and normalize it, then get the host back out.
144 GURL gurl(url);
145 const std::string& spec = gurl.possibly_invalid_spec();
146 url_parse::Component host = gurl.parsed_for_possibly_invalid_spec().host;
151 if (!gurl.is_valid()) {
152 LOG(WARNING) << "Keeping rule that GURL says is invalid: " << *domain;