Home | History | Annotate | Download | only in history

Lines Matching defs:redirects

29 //   redirects        A space separated list of URLs that are known to redirect
71 "redirects LONGVARCHAR,"
81 // Encodes redirects into a string.
83 std::vector<std::string> redirects;
84 for (size_t i = 0; i < url.redirects.size(); i++)
85 redirects.push_back(url.redirects[i].spec());
86 return JoinString(redirects, ' ');
89 // Decodes redirects from a string and sets them for the url.
90 void SetRedirects(const std::string& redirects, history::MostVisitedURL* url) {
92 base::SplitStringAlongWhitespace(redirects, &redirects_vector);
94 url->redirects.push_back(GURL(redirects_vector[i]));
155 // Enforce invariant that url is in its own redirects.
158 "WHERE url <> substr(redirects, -length(url), length(url))";
442 "SELECT url, url_rank, title, thumbnail, redirects, "
463 std::string redirects = statement.ColumnString(4);
464 SetRedirects(redirects, &url);
504 "title = ?, thumbnail = ?, redirects = ?, "
532 "(url, url_rank, title, thumbnail, redirects, "