Home | History | Annotate | Download | only in search

Lines Matching refs:new_tab_url

226   const GURL new_tab_url(GetNewTabPageURL(profile));
227 if (new_tab_url.is_valid() &&
228 search::MatchesOriginAndPath(url, new_tab_url))
296 // Returns whether |new_tab_url| can be used as a URL for the New Tab page.
298 NewTabURLState IsValidNewTabURL(Profile* profile, const GURL& new_tab_url) {
301 if (!new_tab_url.is_valid())
303 if (!new_tab_url.SchemeIsSecure())
305 if (!IsURLAllowedForSupervisedUser(new_tab_url, profile))
520 GURL new_tab_url(GetNewTabPageURL(profile));
521 return new_tab_url.is_valid() &&
522 search::MatchesOriginAndPath(entry->GetURL(), new_tab_url);
760 GURL new_tab_url(GetNewTabPageURL(profile));
761 if (new_tab_url.is_valid() &&
762 search::MatchesOriginAndPath(new_tab_url, *url)) {