Home | History | Annotate | Download | only in importer

Lines Matching refs:url

83     // Don't insert this url if it isn't valid.
84 if (!it->is_folder && !it->url.is_valid())
87 // We suppose that bookmarks are unique by Title, URL, and Folder. Since
124 it->title, it->url, it->creation_time);
159 // a valid URL, an empty string is returned, otherwise host+path is returned.
160 static std::string HostPathKeyForURL(const GURL& url) {
161 return url.is_valid() ? url.host() + url.path() : std::string();
171 // when checking imported URLs as the imported URL may not be valid yet may
173 // case of IE using an invalid OSDD URL for Live Search, yet the host+path
174 // matches our prepopulate data. IE's URL for Live Search is something like
179 if (t_url->url()) {
180 if (try_url_if_invalid && !t_url->url()->IsValid())
181 return HostPathKeyForURL(GURL(t_url->url()->url()));
183 if (t_url->url()->SupportsReplacement()) {
185 t_url->url()->ReplaceSearchTerms(
194 // the TemplateURLModel that has a valid search url.
211 } // else case, TemplateURL doesn't have a search url, doesn't support
261 if (t_url->url() && t_url->url()->IsValid()) {
322 model->GetNodesByURL(entry.url, &nodes_with_same_url);
359 return true; // Found a match with the same url path and title.